AI Gateway
Delete an AI Gateway routing rule
Delete a routing rule. Referenced rules require force=true. Surviving tiers keep their ordering and weights. A deletion that would rewrite a surviving tier with an unknown ordering_issue fails with HTTP 409 and code routing_rule_unknown_ordering until that rule is replaced or deleted.
delete/api/v2/routing-rules
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopesai_gateway_config_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
slugstring required
Organization-unique routing rule slug.
forceboolean
Delete referencing tiers and recursively delete parent rules left without tiers.
Response
No Content
Changes
Changes to this operation have not been checked yet.