Delete a Notebook on Microsoft Azure

DELETE /api/v1.2/notebooks/<notebook ID>

Use this API to delete a notebook. To know how to clone a notebook using the Notebooks UI, see Deleting a Notebook.

Required Role

The following roles can make this API call:

  • A user who is part of the system-user/system-admin group.

  • A user invoking this API must be part of a group associated with a role that allows submitting a command. See Managing Groups and Managing Roles for more information.

Parameters

Note

No additional parameters are required in the delete a notebook API call.

Request API Syntax

curl -i -X DELETE -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json" \
"https://azure.qubole.com/api/v1.2/notebooks/<notebook ID>"

Sample API Request

Here is an example to delete a Spark notebook with its ID as 2000.

curl -i -X DELETE -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json" \
"https://azure.qubole.com/api/v1.2/notebooks/2000"