Restores a file that was previously moved to trash.
Method: POST
URL: {{base_url}}/files/{{file_id}}/restore
This endpoint requires authentication.
Authorization header:Notes:
If your collection/folder already sets auth, this request can inherit auth.
Ensure {{access_token}} is a valid, non-expired token.
Set these variables at the environment or collection level:
Example request URL:
A successful request typically returns HTTP 200 OK.
400 Bad Request
file_id401 Unauthorized / 403 Forbidden
Missing/invalid Authorization header
Expired {{access_token}}
404 Not Found
File with the given file_id does not exist
File is not in trash
This endpoint restores a soft-deleted file from trash.
The file will be returned to its original folder.
Once restored, the deleted_at field becomes null, indicating the file is active again.