Hanzo
OpenapiIam

Takes away a person's or an application's right to act in an organization.

Takes away a person's or an application's right to act in an organization. Their account survives; what ends is their access to that organization.

POST /v1/iam/delete-membership

Addresshttps://api.hanzo.ai/v1/iam/delete-membership
MethodPOST
Operationpost_iam_delete-membership
AuthAuthorization: Bearer $HANZO_API_KEY

Takes away a person's or an application's right to act in an organization. Their account survives; what ends is their access to that organization. Revoking a membership that is already gone reports that nothing was removed rather than failing, so a retry is safe. It is the mirror of ensure and takes the SAME gate: revoking membership is the org's authority to give or take, so a SuperAdmin, an admin of the org itself, or an org-admin-capable confidential client. Idempotent through the store — deleting an absent membership reports removed=false, never an error — so a retried revoke is safe.

Request

The document declares no body for POST /v1/iam/delete-membership. 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_delete-membership, 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 delete-membership

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page