cURL
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 }
Move a file from one path to another
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.
Project ID or slug
Branch ID (null for main branch)
Current file path
New file path
File moved successfully