Skip to main content
PUT

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string
required

UUIDv7 of the workspace.

pref_key
string
required

The preference key.

Body

application/json

The preference's value, as any JSON document

The body is of type any.

Response

The whole bag as it now reads, the written key included

Every preference you have set in this workspace.

A write returns the whole set, including the keys it did not change.

prefs
object
required

Every key you have set in this workspace, ordered by key.

Each value is any well-formed JSON value, returned as it was stored. The order is stable between two reads.