In the Box context, deleting a file moves it to a special folder within your Box account: 'Trash'. As of mid-2019, Box' default policy is to retain files in Trash for 30 days.
Usage
box_delete_file(file_id)
box_restore_file(file_id)
box_delete_folder(dir_id)
box_restore_folder(dir_id)
Value
box_delete_file()
Invisible
NULL
, called for side effects.box_restore_file()
Object with S3 class
boxr_file_reference
.box_delete_folder()
Invisible
NULL
, called for side effects.box_restore_folder()
Object with S3 class
boxr_folder_reference
.