Account
The hanzo account commands.
Also for this capability: API · CLI · MCP · SDKs
Your own account: API keys you mint and revoke, and org onboarding.
hanzo account keys listEvery 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.
| Command | What it does |
|---|---|
hanzo account csrf | Mints the anti-forgery token a browser echoes as X-CSRF-Token on every change it asks for. |
hanzo account embed | Reports whether one of this brand's shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel. |
hanzo account orgs | Creates an organization and makes the caller its owner. |
Appearance
| Command | What it does |
|---|---|
hanzo account appearance create | Stores the caller's appearance preference on their IAM account, preserving every other field of the row. |
hanzo account appearance get | Returns the signed-in caller's own appearance preference — text size, density and accent — read from their IAM account so it is the same on every device and every Hanzo surface. |
Avatar
| Command | What it does |
|---|---|
hanzo account avatar create | Set your profile photo |
hanzo account avatar org user get <org> <user> <digest> | Fetch a profile photo |
Keys
| Command | What it does |
|---|---|
hanzo account keys create | Creates a NEW API key and returns its secret ONCE. |
hanzo account keys list | Returns the API keys the caller may see, newest first: their own, or every key the org holds when the caller administers it. |
hanzo account keys rm <id> | Revokes exactly one API key, by id. |
hanzo account keys update <id> | Changes one key's name, permissions, budget, rate or expiry. |
Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.