ごみ箱内にあるファイルを完全に削除します。このアクションは取り消せません。
curl -X DELETE https://api.box.com/2.0/files/12345/trash \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
await client.FilesManager.PurgeTrashedAsync("11111");
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!')
client.files.deletePermanently('11111')
.then(() => {
// deletion succeeded — no value returned
});