Skip to main content
Beta. The routing rules endpoints are new and their response shapes may still change.
Permanently deletes one routing rule. It stops applying right away. You need the owner or manager role on the rule’s domain. Viewers get 403 forbidden.
To turn a rule off temporarily, update it with "isActive": false instead. The rule is kept, so you can turn it back on later.
Always call this endpoint from a server-side environment (backend API, serverless function, build script, etc.). Never include your API key in client-side code — it will be visible to anyone inspecting your frontend.
API access is available on every plan. Each key has a monthly call quota that varies by plan — see Plan Limits.

Request

Headers

Path Parameters

Example Request

Response

Success (200)

The response includes a copy of the rule you deleted, so you can log it or recreate it later.

Error Responses