cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group