Hanzo
OpenapiIam

Makes a service account — an identity for a program rather than a person, for a…

Makes a service account — an identity for a program rather than a person, for a script, a bot or a deployment that has to authenticate on its own.

POST /v1/iam/service-accounts

Addresshttps://api.hanzo.ai/v1/iam/service-accounts
MethodPOST
Operationpost_iam_service-accounts
AuthAuthorization: Bearer $HANZO_API_KEY

Makes a service account — an identity for a program rather than a person, for a script, a bot or a deployment that has to authenticate on its own.

It comes back with its first key, and the secret half is shown ONCE, here. There is no way to read it again; if you lose it, rotate.

Request

The document declares no body for POST /v1/iam/service-accounts. 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_service-accounts, 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 service-accounts create

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page