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

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_reference
string
required

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