Databricks icon

Databricks

Interact with Databricks API

Files → Delete File

AI-generated

Summary

Delete a file from a specified Databricks Unity Catalog volume.

Inputs

  • Volume Path (required) — Full path to the volume in format: catalog.schema.volume
  • File Path (required) — Path to the file within the volume (e.g. "folder/file.txt" or "file.txt"), without a leading slash

Output shape

a single JSON object indicating success with file and volume path info

The operation deletes the specified file and returns a success confirmation JSON containing 'success', 'message', 'volumePath', and 'filePath' fields. An error is thrown if deletion fails.

Links

Discussion