Hanzo
OpenapiIam

Starts a sign-in on a device with no browser and no keyboard — a TV, a CLI, a…

Starts a sign-in on a device with no browser and no keyboard — a TV, a CLI, a headless box.

POST /v1/iam/oauth/device

Addresshttps://api.hanzo.ai/v1/iam/oauth/device
MethodPOST
Operationpost_iam_oauth_device
AuthAuthorization: Bearer $HANZO_API_KEY

Starts a sign-in on a device with no browser and no keyboard — a TV, a CLI, a headless box. It returns a short code to show the person and the address to send them to on a phone or laptop.

Nothing is granted until a human approves it there; until then the code is just a pending request.

Request

The document declares no body for POST /v1/iam/oauth/device. 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_oauth_device, 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 oauth device create

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page