DBFS Delete
db_dbfs_delete(
path,
recursive = FALSE,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
The path of the new file. The path should be the absolute DBFS
path (for example /mnt/my-file.txt
).
Whether or not to recursively delete the directory’s contents. Deleting empty directories can be done without providing the recursive flag.
Databricks workspace URL, defaults to calling db_host()
.
Databricks workspace token, defaults to calling db_token()
.
If TRUE
(default) the request is performed, if
FALSE
the httr2 request is returned without being performed.
Other DBFS API:
db_dbfs_add_block()
,
db_dbfs_close()
,
db_dbfs_create()
,
db_dbfs_get_status()
,
db_dbfs_list()
,
db_dbfs_mkdirs()
,
db_dbfs_move()
,
db_dbfs_put()
,
db_dbfs_read()