Delete Routing Rule
Permanently remove a routing rule. The rule and all its conditions are deleted from the database in a single transaction. Traffic that previously matched this rule falls through to the next matching rule by priority, or to the endpoint's default routing (round-robin) if none match.
If you want to disable a rule temporarily, use PUT with enabled: false instead — that preserves the rule for later re-enabling.
Path parameters
uuid string (uuid) Req
Endpoint UUID.
rule_id int64 Req
Numeric rule ID.
Response (204 No Content)
Empty body on success.
Errors
400 Bad Request
Non-numeric
rule_id.401 Unauthorized
Missing auth.
404 Not Found
Endpoint or rule doesn't exist (or doesn't belong to the calling user). A non-existent
rule_id on an existing endpoint also returns 404.Request
curl -X DELETE "https://api.ngris.com/v1/endpoints/<uuid>/routing-rules/17" \
-H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris
client = Ngris(api_key="<your_api_key>")
client.routing_rules.delete("<endpoint_uuid>", "17")
Response — 204 No Content