Skip to main content
POST
/
projects
/
{project_reference}
/
files
/
move
Move Project File
curl --request POST \
  --url https://api.veryfront.com/projects/{project_reference}/files/move \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_path": "<string>",
  "destination_path": "<string>"
}
'
{
  "source_path": "<string>",
  "destination_path": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.

Path Parameters

project_reference
string
required

Project ID or slug

Query Parameters

branch_id
string<uuid>

Branch ID (null for main branch)

Body

application/json
source_path
string
required

Current file path

destination_path
string
required

New file path

Response

File moved successfully

source_path
string
required
destination_path
string
required
success
boolean
required