Files & Drive
moveFile
Move File
Move a File into a different folder, or file it into a Space.
Arguments
fileIdstringrequiredThe ID of the file to movefolderIdstringoptionalTarget folder ID (root if not specified)spaceIdstringoptionalFile the file into a Space (spaceId from listPageSpaces), landing at that Space's file root. When folderId is also given the folder wins: a file always lives in its folder's Space.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- move <file> to X
- put this file in <folder>
- file this into the <name> Space
Pair it with
The verbs that finish the job.