Overview / Catalog / Add a language

Add a language

post https://api.flactrum.com/v1/languages
Required scope languages.write
Success status201
Returns One Language object

Request body

FieldTypeDescription
code * string ISO code, optionally with a region: en, en-GB.
name * string —
is_default boolean Only one language is the default; marking a new one clears the old.
is_active boolean —
sort_order integer —

Response fields

FieldTypeDescription
id string —
code string —
name string —
is_default boolean The default language stores its text on the record itself, not as a translation.
is_active boolean —
sort_order integer —

Examples

No recorded example yet.