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.
Programmatic (API key) access requires the Pro plan and above — requests from Starter accounts return 403 plan_upgrade_required.

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