Hanzo
OpenapiIam

Disconnects one sign-in identity from an account, so that provider can no…

Disconnects one sign-in identity from an account, so that provider can no longer be used to sign in as that person.

POST /v1/iam/unlink

Addresshttps://api.hanzo.ai/v1/iam/unlink
MethodPOST
Operationpost_iam_unlink
AuthAuthorization: Bearer $HANZO_API_KEY

Disconnects one sign-in identity from an account, so that provider can no longer be used to sign in as that person. Their account and every other way they sign in are untouched. Two principals may do it, and only two: the account holder itself, and a SuperAdmin (a member of the reserved admin org, the one predicate). An ORG ADMIN deliberately may NOT — unlinking is not tenant administration, it is unpicking someone's own sign-in method, so the generic org-admin rule is the wrong answer here.

A holder unlinking itself must also be permitted by the application — the provider link's CanUnlink flag — so an organization that mandates federated sign-in cannot have its users strand themselves. A SuperAdmin is not bound by that flag; it is the platform's own recovery path. Fail-closed throughout.

Request

The document declares no body for POST /v1/iam/unlink. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask the MCP door's describe for post_iam_unlink, which answers from the running route.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo iam unlink

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page