Skip to main content
POST
Add a language (manage)

Authorizations

Authorization
string
header
required

API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.

Path Parameters

projectId
string
required

Project id (UUID) or id-embedded path slug.

Body

application/json
languageCode
string
required

BCP-47 language code to add to the project.

Required string length: 2 - 10
Example:

"fr"

label
string
required

Display name for the language.

Required string length: 1 - 100
Example:

"French"

isSource
boolean

Mark this as the project's source language (only one may be the source).

Response

The newly added project language.

success
boolean
required
data
object
required