Skip to main content
POST
/
projects
/
{project_reference}
/
uploads
/
{file_id}
/
move
Move Upload
curl --request POST \
  --url https://api.veryfront.com/projects/{project_reference}/uploads/{file_id}/move \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_path": "<string>"
}
'
{
  "success": true,
  "error": "<string>",
  "file": {
    "id": "<string>",
    "file_id": "<string>",
    "path": "<string>",
    "file_name": "<string>",
    "content_type": "<string>",
    "size": 123,
    "is_public": true,
    "url": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "deleted_at": "<string>"
  }
}

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

file_id
string
required

Source file path

Body

application/json
new_path
string
required

Destination file path

Response

File moved successfully

success
boolean
required
error
string
file
object