# delete

The cldkctl notebook delete command permanently removes a Jupyter Notebook instance by specifying its name. This command deletes the notebook and releases all associated resources, including compute and storage allocations. This action is irreversible. Once deleted, the notebook and its configuration cannot be recovered.

## Usage

```
cldkctl notebook delete [name] [flags]
```

## Aliases

```
delete, del, rm
```

## Steps

Follow the steps below to run and view the result of this command:

<figure><img src="/files/r6bvN3tWm7ZycYom2epY" alt=""><figcaption></figcaption></figure>

1. If your organization has multiple notebooks, identify the Notebook Name from the Notebook List section.
2. Run the following command in your terminal, and replace \<notebook name> with the name of the notebook you want to delete:

```
cldkctl notebook delete <notebook name>
```

3. If your notebook is running in a different namespace, include the --namespace flag followed by the namespace name.
4. Wait for a few moments while the system processes the deletion request and releases all related resources.
5. Once the process completes successfully, the terminal displays the message “✔ Notebook deleted”.
6. To confirm the notebook has been removed, refer to the Notebook List section.

## Flags

{% hint style="info" %}
This command supports [global flags.](/cloudeka-api-list/global-flags.md) Refer to the Global Flags section for details.
{% endhint %}

| Flag                   | Description                                           |
| ---------------------- | ----------------------------------------------------- |
| -h, --help             | Help for the delete command.                          |
| -n, --namespace string | Specify the cluster namespace to scope the operation. |
| -p, --project string   | Specify the project ID.                               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-notebook/delete.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
