Skip to contents

Deletes an object or a directory (and optionally recursively deletes all objects in the directory). * If path does not exist, this call returns an error RESOURCE_DOES_NOT_EXIST. * If path is a non-empty directory and recursive is set to false, this call returns an error DIRECTORY_NOT_EMPTY.

Usage

delete_notebook(client, path, recursive = NULL)

workspaceDelete(client, path, recursive = NULL)

Arguments

client

Required. Instance of DatabricksClient()

path

Required. The absolute path of the notebook or directory.

recursive

The flag that specifies whether to delete the object recursively.

Details

Object deletion cannot be undone and deleting a directory recursively is not atomic.