box_delete_file: Move files within Box, from/to trash directory

Description Usage Arguments Details Value

View source: R/boxr_delete_restore.R

Description

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

1
2
3
4
5
6
7

Arguments

file_id

numeric or character, file ID at Box.

dir_id

numeric or character, folder ID at Box.

Details

box_delete_file()

Move a file to Trash.

box_restore_file()

Restore a file from Trash.

box_delete_folder()

Move a folder, including contents, to Trash.

box_restore_folder()

Restore a folder, including contents, from Trash.

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.


boxr documentation built on Jan. 19, 2021, 5:06 p.m.