Add Lang

POST {{protocol}}://{{instance_zuid}}.{{instances_api_url}}/{{instances_api_version}}/env/langs

This call will replicate all content items marked with the new language. The default language will be copied into the the new content items. For example, if english is your default language, and you add German (DE), a new item for each content item that exists will be created with a unique ZUID, the lang DE, but the starting content will be copied from the english version.

Request Body

{"code"=>"en-CA"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring