Change Language

PUT /api/v1/session/change_language/
Change the authenticated user language

Example request:

PUT /api/v1/session/change_language/ HTTP/1.1
Host: example.com
Content-Type: "application/json"

{
   "language": "English"
}
Request JSON Object:
  • language (string) – the new language of the user, must be a capitalized word. If present this field has priority over language_code.

  • language_code (string) – the new language_code of the user, see Language and language code.

Example response:

HTTP/1.1 200 OK
Status Codes: