delete_file: delete a Google Drive file

Description Usage Arguments Value

View source: R/files.R

Description

delete_file removes a file completely, assuming the user has permission to do so. In the process it completely bypasses the trash bin, rendering the file unrecoverable by the user.

Usage

1
delete_file(file_id, ...)

Arguments

file_id

the ID of a file - or the full URL for accessing it via your browser. See file_metadata for further discussion.

...

further arguments to pass to httr's DELETE.

token

a token, generated with driver_connect.

Value

TRUE if the file was successfully deleted, FALSE or an error otherwise.


noamross/driver documentation built on May 23, 2019, 9:30 p.m.