Enable and disable products

These endpoints allow you to enable, disable, configure, and check the enablement status of products on your services.

Data model

configurationobject
productobject
serviceobject
modestringThe new mode to run the product in. One of block, log, or off. Optional in the PATCH request body for ddos_protection.
traffic_rampstringThe new traffic ramp. Optional in the PATCH request body for ngwaf.
workspace_idstringThe new workspace_id. Required in the PUT request body when product_id is ngwaf. Optional in the PATCH request body for ngwaf.

Endpoints

Get enabled product

GET/enabled-products/v1/product_id/services/service_id

Enable a product

PUT/enabled-products/v1/product_id/services/service_id

Disable a product

DELETE/enabled-products/v1/product_id/services/service_id

Get configuration for a product

GET/enabled-products/v1/product_id/services/service_id/configuration

Update configuration for a product

PATCH/enabled-products/v1/product_id/services/service_id/configuration