Delete Firewall Policy
Permanently remove a firewall policy and all its conditions (cascade-delete). Effect is immediate — the policy stops being evaluated on the next request.
To preserve the policy for later, use PUT with enabled: false.
Path parameters
uuid string (uuid) Req
Response (204 No Content)
Empty body on success.
Errors
401 Unauthorized
Missing auth.
404 Not Found
Policy doesn't exist, belongs to another account, or the path segment isn't a uuid.
Request
curl -X DELETE "https://api.ngris.com/v1/firewall/policies/019c32cb-35d7-786f-b2c5-d108951e23d8" \
-H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris
client = Ngris(api_key="<your_api_key>")
client.firewall.delete_policy("019c32cb-35d7-786f-b2c5-d108951e23d8")
Response — 204 No Content
Was this helpful?