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
id string (uuid) Req
Policy UUID.
Response (204 No Content)
Empty body on success.
Errors
401 Unauthorized
Missing auth.
404 Not Found
Policy doesn't exist or doesn't belong to the calling user.
Request
curl -X DELETE "https://api.ngris.com/v1/firewall/policies/abc-123" \
-H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris
client = Ngris(api_key="<your_api_key>")
client.firewall.delete_policy("abc-123")
Response — 204 No Content