File resource
Restore file from recycle bin
OVERVIEW
Restores a deleted file from recycle bin. The restore location is a folderif of the target folder where the specific file is to be restored.
Request
POST /files/{fileid}/recycle?targetfolder=<targetfolderid>
Parameters
Parameter Name |
Value |
Description |
---|---|---|
fileid (required) |
Int |
The id of the file which is to be retored |
targetfolderid(required) |
Int |
The target folder id of the folder under which the file is to be restored |
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