Users
Update current user preferences
Upserts the authenticated user's date_format and/or language. At least one field is required. Unknown format strings and languages are rejected. Any user_id in the body is ignored; the JWT user is always the target.
patch/users/me/preferences
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"
}
}