Hanzo AI
OpenapiIam

List accounts

Returns the people signed in on this browser, the most recent sign-in first — what the sign-in page lists when an application asks the person to choose an…

GET /v1/iam/accounts

Addresshttps://api.hanzo.ai/v1/iam/accounts
MethodGET
Operationget_iam_accounts
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the people signed in on this browser, the most recent sign-in first — what the sign-in page lists when an application asks the person to choose an account.

It reads the session cookie and nothing else, so it only ever answers the browser holding the sessions. An account forbidden or deleted since it signed in is left out. A browser with nobody signed in gets an empty list.

Request

GET /v1/iam/accounts 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 accounts

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page