PATCH /wafs/{firewall_id}/disable
Disable a firewall for a particular service and version. This endpoint is intended to be used in an emergency. Disabling a firewall object for a specific service and version replaces your existing WAF ruleset with an empty ruleset. While disabled, your WAF ruleset will not be applied to your origin traffic. This endpoint is only available to users assigned the role of superuser or above. This is an asynchronous action. To check on the completion of this action, use the related link returned in the response to check on the Update Status of the action.
Authorization: Requires API token, API token with at least Superuser permissions.
Servers
- https://api.fastly.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
firewall_id |
String | Yes |
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.id |
String | No | |
data.type |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.