HOC SiteDocumentation

Update primary and enabled locales

Method: PUT · Auth: bearer · Group: settings

/api/v1/{locale}/{websiteId}/locales

Request

  • Content-Type: application/json
{ "primaryLocale": "en-US", "enabledLocales": ["en-US"] }

Schema

{
  "method": "PUT",
  "path": "/api/v1/{locale}/{websiteId}/locales",
  "contentType": "application/json",
  "bodyHint": "{ \"primaryLocale\": \"en-US\", \"enabledLocales\": [\"en-US\"] }"
}

MCP tools