POST /waf/firewalls

Create a firewall object for a particular service and service version using a defined prefetch_condition and response. If the prefetch_condition or the response is missing from the request body, Fastly will generate a default object on your service.

Authorization: API token with at least Engineer permissions.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

host String No

Request body fields

Name Type Required Description
data Object No
data.attributes Object No
data.attributes.service_version_number Number No
data.attributes.response String No
data.attributes.service_id String No
data.attributes.prefetch_condition String No
data.type String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.