Restore a recently deleted file
POST/files/:fileKey/restoration
Restores a soft-deleted file back to the live project. If the file's original parent folder was also deleted, the file is restored into a new wrapper folder at the project root. The file cannot be restored if its containing project has been deleted.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 500
The file was restored successfully. Returns the restored file.
The request lacks valid authentication credentials.
Response Headers
WWW-Authenticate
Forbidden. The request is not allowed.
The recently deleted file was not found.
The file cannot be restored because its project has been deleted.
An internal error occurred while processing the request.