cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
cancel
Showing results for 
Search instead for 
Did you mean: 

Workspace clearing by api

adriancz
New Contributor

I want to delete my notebooks before the new deployment. This command works when I specified the folder and clear data inside:

curl --netrc --request POST \

https://dbc-a1b2345c-d6e7.cloud.databricks.com/api/2.0/workspace/delete \

--header 'Accept: application/json' \

--data '{ "path": "/Users/me@example.com/MyFolder", "recursive": true }'

What should I put into Path parameter to delete all folders & notebooks from workspace ?

I tryied ''/'' and "" but it doesnt work.. :/​

0 REPLIES 0
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.