Disable a firewall
PATCH {{fastly_url}}/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.
Request Body
{"data"=>{"id"=>"w4Fg2uUGZzb2W9Euo4m0Or", "type"=>"waf"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Host | string | ||
Content-Type | string | ||
Accept | string |