Delete Rate Limit Rule
Permanently remove a rate-limit rule. Counters in Redis associated with this rule are dropped on the next reload (≤30s), so clients currently throttled by it are released within that window.
To temporarily disable a rule without deleting, use PUT with "status": "disabled".
Path parameters
id int Req
Rule ID.
Response (200 OK)
JSON body confirming the delete: {"success": true, "message": "Rate limit rule deleted successfully"}.
Errors
401 Unauthorized
Missing auth.
404 Not Found
Rule doesn't exist.
Request
curl -X DELETE "https://api.ngris.com/v1/firewall/rate-limits/1" \
-H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris
client = Ngris(api_key="<your_api_key>")
client.firewall.delete_rate_limit(1)
Response — 200 OK
{
"success": true,
"message": "Rate limit rule deleted successfully"
}