DELETE examples
Delete multiple rules
DELETE zones/{zone_id}/firewall/rules
Request
curl -X DELETE \ -H "X-Auth-Email: user@cloudflare.com" \ -H "X-Auth-Key: REDACTED" \ "https://api.cloudflare.com/client/v4/zones/d56084adb405e0b7e32c52321bf07be6/firewall/rules?id=cbf4b7a5a2a24e59a03044d6d44ceb09"
Response
{ "result": [], "success": true, "errors": null, "messages": null}
Delete a single rule
DELETE zones/{zone_id}/firewall/rules/{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/firewall/rules/cbf4b7a5a2a24e59a03044d6d44ceb09"
Response
{ "result": null, "success": true, "errors": null, "messages": null}