Hanzo
OpenapiIam

Reads one person, two ways.

Reads one person, two ways. Name them and it is an ordinary read, with secrets stripped.

GET /v1/iam/get-user

Addresshttps://api.hanzo.ai/v1/iam/get-user
MethodGET
Operationget_iam_get-user
AuthAuthorization: Bearer $HANZO_API_KEY

Reads one person, two ways.

Name them and it is an ordinary read, with secrets stripped. Or hand it a SECRET API key and it answers with the person that key belongs to — how a service of yours turns a credential on an incoming request into an identity.

A publishable key resolves to nobody here, deliberately: it is safe to ship in a browser precisely because it names an organization and never a person.

get-user is handler-authorized (authz.handlerAuthorizedExact) because the key variant carries no owner/name for the Guard to authorize; so the owner/name variant reinstates the SAME read authorization the Guard applies, through the ONE policy function (authz.Can) — identical behavior, a cross-tenant or non-self read still refused 403 — then reuses the generic getHandler verbatim for resolution and redaction. No authz and no CRUD is reimplemented.

Request

GET /v1/iam/get-user takes no parameters and no body — the credential is the whole request.

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 get-user

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page