This example deletes firewall rules with IDs {rule_id_1} and {rule_id_2}.
{rule_id_1}
{rule_id_2}
curl --request DELETE \"https://api.cloudflare.com/client/v4/zones/{zone_id}/firewall/rules?id={rule_id_1}&id={rule_id_2}" \--header "X-Auth-Email: <EMAIL>" \--header "X-Auth-Key: <API_KEY>"
{ "result": [ { "id": "<RULE_ID_1>" }, { "id": "<RULE_ID_2>" } ], "success": true, "errors": [], "messages": []}
This example deletes the rule with ID {rule_id}.
{rule_id}
curl --request DELETE \"https://api.cloudflare.com/client/v4/zones/{zone_id}/firewall/rules/{rule_id}" \--header "X-Auth-Email: <EMAIL>" \--header "X-Auth-Key: <API_KEY>"
{ "result": [ { "id": "<RULE_ID>" } ], "success": true, "errors": [], "messages": []}