Sets the current user's UI language

Sets the UI language of the authenticated user. This is the only way to change locale: POST /users and PUT /users/{id} ignore the field. Any authenticated user may call it, whatever their user type's user.update ability, because it can only change the caller's own record. Under act_as it updates the impersonated user, the one GET /me returns.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

The UI language, as a BCP 47 tag.

Allowed:
Responses

400

The request was malformed or contained invalid parameters.

401

You are not authorized

404

The item you were looking for does not exist

500

An unexpected error was encountered.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json