Logo
Fastly Developer Hub API Documentation

Enable a product

PUT {{fastly_url}}/enabled-products/v1/{{product_id}}/services/{{service_id}}

Enable a product on a service. Supported product IDs: brotlicompression,domaininspector,fanout,imageoptimizer,origininspector, websockets, bot_management, and ngwaf.

Authorization: API token with at least Engineer permissions.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Host
string
Content-Type
string
Accept
string




RESPONSES

status





Curl
curl -X PUT 'https://api.fastly.com/enabled-products/v1//services/' -H 'Host: api.fastly.com' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"workspace_id":"7JFbo4RNA0OKdFWC04r6B3"}'

ENDPOINTS