Skip to content

Update tenant i18n preferences

PUT
/api/i18n/preferences

Update the tenant’s locale, currency, timezone, and billing country. Emits tenant.settings_updated for downstream listeners.

Authorizations

Request Body required

Request body for PUT /api/i18n/preferences.

Attributes: locale: BCP-47 locale code (must be in SUPPORTED_LOCALES). currency: ISO 4217 currency code (must be in SUPPORTED_CURRENCIES). timezone: IANA timezone identifier (validated via ZoneInfo). billing_country: 2-letter ISO country code.

object
billing_country
required
string
>= 2 characters <= 2 characters
currency
required
string
>= 3 characters <= 3 characters
locale
required
string
>= 2 characters <= 10 characters
timezone
required
string
>= 1 characters <= 64 characters

Responses

200

Successful Response

Response shape for PUT /api/i18n/preferences.

object
billing_country
required
string
currency
required
string
locale
required
string
timezone
required
string

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string