Delete folder using Databricks CLI

joaogilsa
Databricks Partner

Hello,

I am trying to delete a folder and its content using databricks cli, but I'm getting the following error:

databricks workspace delete /Workspace/Users/XXX/XXX --profile DEFAULT --recursive true
Error: expected to have the absolute path of the notebook or directory

I have tried deleting a single file, and it's working. It's only when I try to delete a folder that it fails.

Thank you in advance!