Permanently deletes a file that is in the trash. This action cannot be undone.
The unique identifier that represent a file.
The ID for any file can be determined
by visiting a file in the web application
and copying the ID from the URL. For example,
for the URL
curl -i -X DELETE "https://api.box.com/2.0/files/12345/trash" \ -H "Authorization: Bearer <ACCESS_TOKEN>"
String fileID = "87398"; BoxTrash trash = new BoxTrash(api); trash.deleteFile(fileID);
file_to_delete = client.file(file_id='11111') client.trash().permanently_delete_item(file_to_delete) print('The file was deleted from trash!')