System Configuration

Save company locale info

Updates the locale (language and timezone) for the current company. This sets the default language and timezone for the system.

put/api/v1/configuration/locale

Request body

languageIdstring required

Java locale string

timeZoneIdstring required

Java TimeZone ID

Example request

{
  "languageId": "en_US",
  "timeZoneId": "America/New_York"
}

Response

Locale settings updated successfully

i18nMessagesMapobject
permissionsstring[]

Example response

{
  "entity": {
    "companyId": "dotcms.org",
    "companyName": "dotcms.org",
    "portalURL": "http://localhost:8080",
    "emailAddress": "admin@dotcms.com",
    "mx": "dotcms.com",
    "primaryColor": "#C336E5",
    "secondaryColor": "#54428E",
    "backgroundColor": "#3C1361",
    "backgroundImage": "/dA/abc123/background.png",
    "loginScreenLogo": "/dA/abc123/logo.png",
    "navBarLogo": "/dA/abc123/nav-logo.png",
    "authType": "emailAddress",
    "languageId": "en_US",
    "timeZoneId": "America/New_York"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.