Hanzo
OpenapiO11y

Replaces a route policy, by id, answering with the stored policy.

Replaces a route policy, by id, answering with the stored policy.

PUT /v1/o11y/route_policies/{id}

Addresshttps://api.hanzo.ai/v1/o11y/route_policies/{id}
MethodPUT
OperationUpdateRoutePolicy
AuthAuthorization: Bearer $HANZO_API_KEY

Replaces a route policy, by id, answering with the stored policy. Admin gate.

Request

7 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyes
channelsbodystring[]
descriptionbodystring
expressionbodystring
kindbodyany
namebodystring
tagsbodystring[]

Response

StatusBodyMeaning
200o11y.O11yRoutePolicyOutok

200 body — 13 fields.

FieldInTypeAlwaysDescription
databodyo11y.GettableRoutePolicy
data.channelsbodystring[]
data.createdAtbodystring (date-time)
data.createdBybodystring
data.descriptionbodystring
data.expressionbodystring
data.idbodystring
data.kindbodyany
data.namebodystring
data.tagsbodystring[]
data.updatedAtbodystring (date-time)
data.updatedBybodystring
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y route_policies set <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page