Update a language list
Changes the fields sent: mainLanguageName, or the whole languages array (send every language you keep). Live at once, with the same checks as the Languages screen: a new language gets its home page and its own addresses (/fr/…), a removed one keeps its translations for when its code comes back. A code that isn’t a language code, that is en, that a page’s address already starts with, or that is one of the site’s own addresses is refused with 400, naming the problem.
Access: an API key with languages:write (or a master above it: languages:all, admin:all). A signed-in person may call it as far as their own permissions allow; anyone else gets 403.
Rate limit: the key’s own writes-per-minute limit, set when the key is created (default 120); over it, 429 with Retry-After.
Authorizations
Path Parameters
Body
SiteLanguages content type
Response
Success
SiteLanguages content type