Skip to contents

Volume FileSystem Delete Directory

Usage

db_volume_dir_delete(
  path,
  recursive = FALSE,
  verbose = FALSE,
  host = db_host(),
  token = db_token(),
  perform_request = TRUE
)

Arguments

path

Absolute path of the file in the Files API, omitting the initial slash.

recursive

If TRUE, recursively delete directory contents (default: FALSE)

verbose

If TRUE, announce each file/directory deletion (default: FALSE)

host

Databricks workspace URL, defaults to calling db_host().

token

Databricks workspace token, defaults to calling db_token().

perform_request

If TRUE (default) the request is performed, if FALSE the httr2 request is returned without being performed.