cURL
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>" } }
Moves a user-uploaded file from one path to another within the project.
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
Source file path
Destination file path
File moved successfully
Show child attributes