Move File
Move a File to a Folder.
POST
Body
Arguments
stringrequired
Comma-separated parent folder IDs to add. For single-folder move, pass the destination folder ID.
string
Comma-separated parent folder IDs to remove. Optional when only adding a parent.
stringrequired
Specify the 'fileId' of a File to move. Select a File in the list or use "Search Files & Folders" to get another File in your Drive.
string
Optional new file name, including extension. Renames the file while moving it to the destination folder.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.