Created 12-11-2020 03:41 AM
Hi ,
We need to delete some zeppelin notebooks using the notebookid via REST API or curl command. The default storage of zeppelin notebooks are on hdfs.
hdp 3.1.5.
Zeppelin 0.8.0
Kindly help us with the same.
Created 12-11-2020 06:45 AM
Use below curl commands to delete zeppelin notebook
# curl -v -c cookie.txt -d 'userName=<Username>&password=<Password>' <Zeppelin host>:9995/api/login
# curl -v --cookie cookie.txt -X DELETE http://<Zeppelin_host>:9995/api/notebook/<Notebook_id>
Example:
# curl -v -c cookie.txt -d 'userName=sai&password=admin' http://c486-node2.coelab.cloudera.com:9995/api/login
# curl -v --cookie cookie.txt -X DELETE http://c486-node2.coelab.cloudera.com:9995/api/notebook/2FRPUGU9S
Created 12-14-2020 08:15 PM
Hi ,
I tried the below but the notebook was not deleted.
Thanks
ASIF.
Created 12-14-2020 08:22 PM
Can you share the stack trace of the error and also share the commands you used to delete the notebook