Hanzo
OpenapiAccount

Stores the caller's appearance preference on their IAM account, preserving…

Stores the caller's appearance preference on their IAM account, preserving every other field of the row.

POST /v1/account/appearance

Addresshttps://api.hanzo.ai/v1/account/appearance
MethodPOST
Operationpost_account_appearance
AuthAuthorization: Bearer $HANZO_API_KEY

Stores the caller's appearance preference on their IAM account, preserving every other field of the row. The accent is validated as a real colour token before it is stored; an unset or invalid axis is dropped rather than stored.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
accentbodystringAccent is the one hue — a CSS colour token (a hex, or a bounded functional colour like rgb()/oklch()).
densitybodystringDensity is the spacing step: "compact", "default" or "comfortable".
typebodynumberType is the text-size multiplier, clamped to the ramp window [0.85, 1.4].

Response

StatusBodyMeaning
200appearanceok

200 body — 3 fields.

FieldInTypeAlwaysDescription
accentbodystringAccent is the one hue — a CSS colour token (a hex, or a bounded functional colour like rgb()/oklch()).
densitybodystringDensity is the spacing step: "compact", "default" or "comfortable".
typebodynumberType is the text-size multiplier, clamped to the ramp window [0.85, 1.4].

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Account API · All Hanzo APIs · Interactive reference

How is this guide?

On this page