How delete all firewall rules?

https://api.cloudflare.com/#firewall-rules-delete-firewall-rules

I want to delete all rules without getting rules and delete one by one.

You’d use it by requesting the API that you linked.

Use Cloudflare API v4 Documentation to get a list of them all, loop through them and send the DELETE request for that ID.

2 Likes