v1

latestOpenAPI 3.0.32026-07-24198357534.7 KB
Data Model

Update a single resource - Locale

Replaces the Locale resource.

put/locales/{id}

Path parameters

idstring required

Resource identifier

Request body

fallbackLocalestring

This is the unique identifier of the resource

activeboolean

Example request

{
  "fallbackLocale": "identifier_example",
  "active": true
}

Response

Locale resource updated

activeboolean
fallbackLocalestring
fallbackLocalesstring[]
idstring

This is the unique identifier of the resource

Example response

{
  "id": "identifier_example",
  "name": {
    "fr-FR": "fr-FR translation",
    "en-US": "en-US translation",
    "<*>": "..."
  }
}