Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Why we can't delete a Custom Firewall Rule via the API? - Cloudflare Developers
CD
Cloudflare Developers
โข
3y ago
โข
4 replies
alex
Why we can't delete a Custom Firewall Rule via the API?
It stays as
"Unused Filter
" and disabled
. But still there
.
curl
-s
-X DELETE
"
https://api.cloudflare.com/client/v4/zones/$zone_id/firewall/rules/$rule_id
"
\
-H
"Authorization
: Bearer MY
_TOKEN
"
\
-H
"Content
-Type
: application
/json
"
)
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Firewall Rule
CD
Cloudflare Developers / general-help
2y ago
Checking firewall events via API
CD
Cloudflare Developers / general-help
3y ago
Can't create a firewall rules
CD
Cloudflare Developers / general-help
14mo ago
What permissions are required to update a WAF rule via the API?
CD
Cloudflare Developers / general-help
17mo ago