Delete Preference
Workspace
Delete Preference
Permanently delete a preference.
Args: user: Authenticated owner. thread_id: Target conversation. pref_id: Primary key of the preference to remove. db: Database session.
Returns:
{"deleted": True} on success.
Raises:
HTTPException 404: If no preference with pref_id exists.
DELETE
Delete Preference
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
Minimum string length:
1Required range:
x >= 1Response
Successful Response