DELETE
/v1/routing/{policy_id}Delete a routing policy
Delete a routing policy. Requests that name its alias are then refused like any unknown model.
Authentication: Bearer API key in the Authorization header
Path parameters
policy_idstringrequiredThe routing policy id.
Responses
200The routing policy is deleted.
Response
deletedbooleanrequired
401Missing, unknown or revoked API key.
403The key is not a provisioning key, or the resource is read-only (
tag_read_only,guardrail_read_only).Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one.
404The resource does not exist or belongs to another organization. An organization without access gets this answer on every route.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one.
Request
curl -X DELETE 'https://api.experientiallabs.ai/v1/routing/00000000-0000-4000-8000-000000000012' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"deleted": true
}https://api.experientiallabs.ai/v1/routing/00000000-0000-4000-8000-000000000012