Account
The `hanzo account` commands.
Also for this capability: API · CLI · SDKs
Your own account: API keys you mint and revoke, and org onboarding.
hanzo account csrfEvery 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 | IssueCSRFToken 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… |
hanzo account orgs | Onboard creates the caller's organization. |
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… |
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 clear | Revokes the caller's own API key of the requested class. |
hanzo account keys create | Creates — or rotates — the caller's API key of the requested type and returns it ONCE. |
hanzo account keys get | Returns the caller's own API keys — every type they hold, read AUTHORITATIVELY from IAM rather than from the session… |
How is this guide?