Update routing policy

Authentication

AuthorizationBearer
Your production key sent as a bearer token.

Path parameters

customer_idstringRequired
policy_idstringRequired

Request

This endpoint expects an object.
namestringOptional
descriptionstring or nullOptional

Optional free-text description

strategyenumOptional

To change routing, send strategy plus its matching fields (all-or-nothing); otherwise the update is metadata-only

Allowed values:
is_defaultbooleanOptional
allowed_providerslist of stringsOptional
allowed_modelslist of stringsOptional
priority_orderlist of objectsOptional

Response

Successful Response
idstring
namestring
descriptionstring or null

Optional free-text description

strategyenum
is_defaultboolean
Used when a request names no explicit policy.
allowed_providerslist of strings or null
allowed_modelslist of strings or null
priority_orderlist of objects or null
created_atdatetime
modified_atdatetime