Delete Routing Policy
Delete a routing policy. Deleting the default leaves the organization with no default until another is set, so requests must name a model. Refused with 409 while API keys are bound to the policy; unbind or delete them first. Needs a management key.
Authentication
AuthorizationBearer
A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.
Path parameters
policy_id
The policy’s id.
Response
The routing policy was deleted
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
502
Bad Gateway Error
503
Service Unavailable Error