Hanzo
OpenapiO11y

Deletes a custom role.

Deletes a custom role.

DELETE /v1/o11y/roles/{id}

Addresshttps://api.hanzo.ai/v1/o11y/roles/{id}
MethodDELETE
OperationDeleteRole
AuthAuthorization: Bearer $HANZO_API_KEY

Deletes a custom role. A role that still has user or service-account assignees, or an auth-domain mapping, is refused; managed roles cannot be deleted.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y roles rm <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page