There are 239 language codes in the ISO standard language code table. This service supports a maximum of fourteen (14) languages resources at one time. The languages service supports the following input and output data model properties for languages resources.

Languages input data model

Property Description
default A boolean that specifies whether this language is the default for the environment. This property value must be set to false when creating a language resource. It can be set to true only after the language is enabled and after the localization of an agreement resource is complete when agreements are used for the environment.
enabled A boolean that specifies whether this language is enabled for the environment. This property value must be set to false when creating a language.
environment.id A string that specifies the environment resource’s unique identifier associated with the resource.
id A string that specifies the resource’s unique identifier.
locale A string that specifies an ISO standard language code. For more information about standard language codes, see ISO Language Code Table.
name A string that specifies the language name. If omitted, the ISO standard name is used.

Languages output data model

Property Description
createdAt The time the language resource was created.
customerAdded A boolean that specifies whether this language was added by a customer administrator.
default A boolean that specifies whether this language is the default for the environment. This property value must be set to false when creating a language resource. It can be set to true only after the language is enabled and after the localization of an agreement resource is complete when agreements are used for the environment.
enabled A boolean that specifies whether this language is enabled for the environment. This property value must be set to false when creating a language.
environment.id A string that specifies the environment resource’s unique identifier associated with the resource.
id A string that specifies the resource’s unique identifier.
locale A string that specifies an ISO standard language code. For more information about standard language codes, see ISO Language Code Table.
name A string that specifies the language name. If omitted, the ISO standard name is used.
updatedAt The time the language resource was last updated.

Response codes

Code Message
200 Successful operation.
201 Successfully created.
204 Successfully removed. No content.
400 The request could not be completed.
401 You do not have access to this resource.
403 You do not have permissions or are not licensed to make this request.
404 The requested resource was not found.