Skip to main content
PATCH
Update Preference

Authorizations

Authorization
string
header
required

A personal access token (haico_pat_...), created under Profile → API keys. Send it as Authorization: Bearer <key>. The browser session JWT is also accepted but is an internal mechanism and is not part of the public contract.

Path Parameters

thread_id
string
required
Minimum string length: 1
pref_id
integer
required
Required range: x >= 1

Body

application/json

Payload for editing an existing preference. All fields optional.

title
string | null
subtitle
string | null
kind
string | null
locked
boolean | null

Response

Successful Response

Serialised preference / constraint returned by workspace endpoints.

id
integer
required
thread_id
string
required
title
string
required
kind
string
required
position
integer
required
subtitle
string | null
locked
boolean
default:false