API documented command doesn't delete WAF rule

For Workers & Pages, what is the name of the domain?

any

What is the issue or error you’re encountering

Issuing the command documented in Cloudflare API | Firewall › Rules › Delete A Firewall Rule only pauses rule without removing it. The commands to create and list rules work correctly. Any help about?

What are the steps to reproduce the issue?

give this command:
curl -X DELETE “https://api.cloudflare.com/client/v4/zones/<zone_id>/firewall/rules/<rule_id>” -H “X-Auth-Email: ” -H “X-Auth-Key: ”

Found out that removing also filter does the trick.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.