Enable a firewall
PATCH {{fastly_url}}/wafs/{{firewall_id}}/enable
Re-enable a firewall object for a particular service and version after it has been disabled. This endpoint is intended to be used in an emergency. When a firewall object is re-enabled, a newly generated WAF ruleset VCL based on the current WAF configuration is used to replace the empty ruleset. 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 |