Write one dashboard preference
Upserts a single preference for the calling user in this workspace and returns the full updated bag. The request body IS the value - any well-formed JavaScript Object Notation (JSON) value up to 1 KiB, stored verbatim and never interpreted by the server. pref_key must be one the dashboard declares; anything else is refused with UZ-PREFS-001 and no row is written. Concurrent writes to one key are last-write-wins by design: a preference is a single toggle, so a lost write costs one click.
Authorizations
Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth
Path Parameters
Workspace identifier (Universally Unique Identifier version 7)
The preference to write. Must be a key the dashboard declares.
getting_started_dismissed, getting_started_collapsed, getting_started_cli_ticked Body
The preference value. Any JSON value up to 1 KiB.
The body is of type any.
Response
The caller's preference bag, including the written key