Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Auth0-issued access token that includes the scopes listed for the endpoint.

Headers

x-user-id
string
required

MongoDB ObjectId of the user whose language preference should be updated

Pattern: ^[a-f0-9]{24}$

Body

application/json
language
enum<string>
required

User's preferred language. Valid values are "en" (English) or "el" (Greek).

Available options:
en,
el
Example:

"en"

Response

Language preference updated successfully