Restore File Shares API
If a file has been deleted, you can restore it using the following API call.
Info | Value |
---|---|
Request URL | /shares/_share_id_/folders/_folder_id_/files/_file_id_ |
Request VERB | PUT |
Example Request in JSON
curl -X PUT --user nkpIxMK9ucUUE7FvfNpdAf:x \
-H "Accept: application/json" \
https://test.host/shares/project-alpha/folders/goals/files/goals-2007-docx/restore