File resource
Move file
OVERVIEW
Moves a file from one folder location to another folder location within a site.
Request
PUT /files/{fileid}/parent?targetfolder=<targetfolderid>
Parameters
Parameter Name |
Value |
Description |
---|---|---|
fileid (required) |
Int |
The id of the file which is to be moved |
targetfolderid(required) |
Int |
The target folder id of the folder under which the file is to be moved |
sourceclient (optional) |
string |
The source client for changes API |
Request body
No request body is required for this call.
Response
API endpoint returns a 200 OK in case of a successful operation.
Last Updated: Jun 09,2023
Comments
0 Comments