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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Branch ID (null for main branch)
Current file path
New file path
File moved successfully