Saves the language of the app for your account.
HTTP
PUT /account/localeAccess: Session token only. API keys get 403 with insufficient_scope.
Request body #
JSON.
| Field | Type | Required | Description |
|---|---|---|---|
locale | string | yes | One of en-GB, nl-NL, nl-BE, de-DE, fr-FR and af-ZA. |
JSON
{ "locale": "nl-NL" }Response 200 #
The profile with the new locale.
JSON
{
"id": "0197a3c2-5b1e-7c4a-9d2f-3e8b6a1f0c55",
"email": "ada@example.com",
"displayName": "Ada Lovelace",
"firstName": "Ada",
"lastName": "Lovelace",
"jobTitle": "Engineer",
"company": "Analytical Engines",
"locale": "en-GB"
}Response fields #
| Field | Type | Description |
|---|---|---|
id | string | The id of the user. |
email | string | The email address. |
displayName | string | The name shown to others. |
firstName | string | The first name. Defaults to the first word of the display name. |
lastName | string | The last name. Defaults to the rest of the display name. |
jobTitle | string or null | The job title. |
company | string or null | The company. |
locale | string or null | The interface language, for example en-GB. null until picked. |
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 422 | invalid_request | locale is not one of the supported languages. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.