CASE FrameworkCASE Framework

Update the account's preferred language

PUT
/v1/user/preferred-language

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

newLocale*string

language code, e.g., en, de-DE

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/user/preferred-language" \  -H "Content-Type: application/json" \  -d '{    "newLocale": "string"  }'
{
  "message": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}