Skip to main content
To restore a file that has been moved to the trash, but has not yet been purged, make a POST request to the /files/:file_id endpoint. This will place the file in the original folder if it is still available, or you optionally can specify a parent folder.
curl -i -X POST "https://api.box.com/2.0/files/12345" \
     -H "authorization: Bearer <ACCESS_TOKEN>"