Hanzo
OpenapiIam

Removes a person from your organization.

Removes a person from your organization. Their sessions stop working immediately and the account is gone rather than suspended — to keep the record and…

DELETE /v1/iam/users/{owner}/{name}

Addresshttps://api.hanzo.ai/v1/iam/users/{owner}/{name}
MethodDELETE
Operationdelete_iam_users_by_owner_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Removes a person from your organization. Their sessions stop working immediately and the account is gone rather than suspended — to keep the record and only stop sign-in, update the user instead.

Request

2 fields.

FieldInTypeRequiredDescription
ownerpathstringyes
namepathstringyes

Response

StatusBodyMeaning
200iam.users.DeleteOutputok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page