Update Preference
Patch one or more fields of an existing preference.
Only fields supplied in the payload are updated; unset fields are left untouched.
Args:
payload: Partial update — any subset of title, subtitle, kind.
user: Authenticated owner.
thread_id: Target conversation.
pref_id: Primary key of the preference to edit.
db: Database session.
Returns:
The updated PreferenceSchema.
Raises:
HTTPException 404: If no preference with pref_id exists.
Authorizations
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
1x >= 1