Skip to content
Firewall
Visit Firewall on GitHub
Set theme to dark (⇧+D)

DELETE examples

Delete multiple filters

DELETE zones/{zone_id}/filters

Request

curl -X DELETE -H "X-Auth-Email: user@cloudflare.com" -H "X-Auth-Key: REDACTED" "https://api.cloudflare.com/client/v4/zones/d56084adb405e0b7e32c52321bf07be6/filters?id=60ee852f9cbb4802978d15600c7f3110"

Response

{
"result": [],
"success": true,
"errors": null,
"messages": null
}

Delete a single filter

DELETE zones/{zone_id}/filters/{id}

Request

curl -X DELETE -H "X-Auth-Email: user@cloudflare.com" -H "X-Auth-Key: REDACTED" "https://api.cloudflare.com/client/v4/zones/d56084adb405e0b7e32c52321bf07be6/filters/60ee852f9cbb4802978d15600c7f3110"

Response

{
"result": null,
"success": true,
"errors": null,
"messages": null
}