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…

POST /v1/iam/users/delete

Addresshttps://api.hanzo.ai/v1/iam/users/delete
MethodPOST
Operationpost_iam_users_delete
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, body application/json (required).

FieldInTypeRequiredDescription
namebodystringyes
ownerbodystringyes

Response

StatusBodyMeaning
200iam.users.DeleteOutputok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam users delete \
  --name <name> \
  --owner <owner>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page