Moves a file from its current folder to another folder.
Method: POST
URL: {{base_url}}/files/{{file_id}}/move
This endpoint requires authentication.
Authorization header:Notes:
If your collection/folder already sets auth, this request can inherit auth.
Ensure {{access_token}} is a valid, non-expired token.
Set these variables at the environment or collection level:
Example request URL:
Send the request body as raw JSON.
Example body:
Notes:
The file will be removed from its current folder and assigned to the new folder.
The folder_id must belong to a folder that exists and is accessible to the authenticated user.
A successful request typically returns HTTP 200 OK.
400 Bad Request
Missing folder_id
Invalid folder ID provided
401 Unauthorized / 403 Forbidden
Missing/invalid Authorization header
Expired {{access_token}}
404 Not Found
File with the given file_id does not exist
Destination folder does not exist
This endpoint moves a file between folders without changing the file itself.
The file’s metadata and URL remain unchanged.
Only the folder_id association is updated.