Movabase Docs
Public API

Update language

Updates a language's code, name, or emoji across all file translations. Requires `canEditTranslations` permission.

PATCH
/api/projects/{project-id}/languages
sb-access-token<token>

Supabase Auth session cookie. Automatically set when users log in via the Movabase web app.

In: cookie

Path Parameters

project-id*string

Project ID

Formatuuid

Request Body

application/json

currentCode*string

Current language code to update

code?string

New language code

name?string

New display name

emoji?string

New emoji flag

Response Body

application/json

curl -X PATCH "https://app.movabase.com/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/languages" \  -H "Content-Type: application/json" \  -d '{    "currentCode": "string"  }'
{
  "languages": [
    {
      "code": "string",
      "name": "string",
      "emoji": "string"
    }
  ]
}