Hanzo AI
OpenapiNetwork

Delete identities

Takes one of the org's fabric identities out of the org.

DELETE /v1/network/identities/{id}

Addresshttps://api.hanzo.ai/v1/network/identities/{id}
MethodDELETE
Operationdelete_network_identities_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Takes one of the org's fabric identities out of the org.

The identity's "org-<org>" role and every role scoped to the org are removed and the rest is left alone, so an identity another org shares keeps working there. The identity itself is deleted when no org role is left on it, or when the caller IS its IAM subject — a person may always remove themselves.

An id belonging to another org — or to nothing — is 404 before any write reaches the controller: whether an identity exists is itself a cross-tenant fact, and a delete may only ever act on what the caller could list. A fabric administrator is the controller's own and is refused.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the identity id from the path.

Response

StatusBodyMeaning
204no content
defaultproblem-detailsrefused

Failure carries the platform error shape — see Errors.

Examples

hanzo network identities rm <id>

Network API · All Hanzo APIs · Interactive reference

How is this guide?

On this page