Movabase Docs
Public API

Rename file

Renames a file across all its language versions. Requires `canEditTranslations` permission.

PATCH
/api/projects/{project-id}/files
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

fileName*string

Current file name

newFileName*string

New file name

Response Body

application/json

curl -X PATCH "https://app.movabase.com/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/files" \  -H "Content-Type: application/json" \  -d '{    "fileName": "string",    "newFileName": "string"  }'
{
  "success": true
}