Users
Update current user preferences
Changed onUpserts the authenticated user's date_format, language, and/or parallel_agents. At least one field is required. Unknown format strings, languages, and non-boolean parallel_agents values are rejected. Any user_id in the body is ignored; the JWT user is always the target.
patch/users/me/preferences
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/users/me/preferences
- AuthHTTP bearer
Request body
Example request
{
"date_format": "MM-DD-YYYY",
"language": "en"
}Response
Preferences saved
Example response
{
"message": "OK",
"data": {
"date_format": "DD-MM-YYYY",
"language": "en",
"theme": "light"
}
}Changes
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info
- warning
removed the request property
- warning
removed the optional property
/from the response with the status
- warning