Hanzo AI

Account

The `hanzo account` commands.

Also for this capability: API · CLI · SDKs

Your own account: API keys you mint and revoke, and org onboarding.

API reference →

hanzo account csrf

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo account csrfIssueCSRFToken mints the anti-forgery token a browser echoes as X-CSRF-Token on every change it asks for.
hanzo account embedReports whether one of this brand's shared embedded apps (cms, erp, help) may be framed by the caller and is actually…
hanzo account orgsOnboard creates the caller's organization.

appearance

CommandWhat it does
hanzo account appearance createStores the caller's appearance preference on their IAM account, preserving every other field of the row.
hanzo account appearance getReturns the signed-in caller's own appearance preference — text size, density and accent — read from their IAM account…

avatar

CommandWhat it does
hanzo account avatar createSet your profile photo
hanzo account avatar org user get <org> <user> <digest>Fetch a profile photo

keys

CommandWhat it does
hanzo account keys clearRevokes the caller's own API key of the requested class.
hanzo account keys createCreates — or rotates — the caller's API key of the requested type and returns it ONCE.
hanzo account keys getReturns the caller's own API keys — every type they hold, read AUTHORITATIVELY from IAM rather than from the session…

How is this guide?

On this page