Update available locales and/or the system default locale.

Update available locales and/or the system default locale.

Locale codes are lowercase formatted and using '-' between country code and language, for example: 'en-us'.
If the availableLocales was provided it must contain the system locale en-us because it cannot be removed.
IF 'defaultLocale' was provided it must be exist in the availableLocales list.
If availableLocales is not provided the default locale must be exist before setting it as default

Request Body Parameters:

ParameterTypeMandatoryDescriptionExample
availableLocalesarrayfalseList of objects containing locales. Locale in the following format: {language-ISO639}-{countryCode-ISO3166} lowercase.[{code=en-us}]
defaultLocaleCodestringfalseLocale in the following format: {language-ISO639}-{countryCode-ISO3166} lowercase.en-us

This API requires SETTINGS_UPDATE_LOCALES permission(s).

Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!