Update CMS locales
PATCH
/v1/projects/me/cms-localesdev
https://api.sandbox.ovok.comReplace the list of locales the project offers. The first entry becomes the project default. Admin-only.
Request body
Content-Type: application/json
locales:array(required)
Responses
| Code | Description |
|---|---|
200 | Success. |
400 | The request could not be operated by the server. |
401 | The resource owner or authorization server denied the request. |
404 | The requested resource could not be found. |
422 | The request could not be validated by the server. |
500 | The server encountered an unexpected condition. Please try again later. |
200 → CmsLocalesResponseDto (application/json)
CMS locale configuration for the caller’s current project. Public content delivery falls back to default when a requested locale has no value on file.
locales:string[](required) — BCP-47 codes ordered as configured. Empty when the project has none set yet.default:string(required) — The project default locale — equal tolocales[0](or "" when no locales are configured).
Example
{
"locales": [
"en",
"de",
"fr"
],
"default": "en"
}