Hanzo
OpenapiO11y

Changes a group's name, condition or enabled state.

Changes a group's name, condition or enabled state. Every field is optional and only the ones sent are applied.

PATCH /v1/o11y/span_mapper_groups/{groupId}

Addresshttps://api.hanzo.ai/v1/o11y/span_mapper_groups/{groupId}
MethodPATCH
OperationUpdateSpanMapperGroup
AuthAuthorization: Bearer $HANZO_API_KEY

Changes a group's name, condition or enabled state. Every field is optional and only the ones sent are applied.

Callers need the admin role; the runtime's own gate enforces it.

Request

6 fields, body application/json (required).

FieldInTypeRequiredDescription
groupIdpathstringyes
conditionbodyo11y.SpanMapperGroupCondition
condition.attributesbodystring[]
condition.resourcebodystring[]
enabledbodyboolean
namebodystring

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y span_mapper_groups update <groupId>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page