# delete

The cldkctl guard delete command deletes an existing Guard from your project. This command permanently removes the Guard configuration, including its ingress and egress rules, from the specified namespace.

## Usage

```
cldkctl guard delete [flags]
```

## Aliases

```
delete, remove
```

## Steps

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

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

1. Run the following command in your terminal:

```
cldkctl guard delete --name <guard_name>
```

2. If your Guard is located in a specific namespace, include the `--namespace` flag.
3. Wait for the system to process the deletion request.
4. Once completed, the terminal displays the message “✔ Guard has been successfully deleted”

## Flags

{% hint style="info" %}
This command supports global flags. Refer to the Global Flags section for details
{% endhint %}

| Flag                   | Description                                    |
| ---------------------- | ---------------------------------------------- |
| -h, --help             | Help for the guard delete command.             |
| -n, --name string      | Specify the name of the Guard to delete.       |
| -s, --namespace string | Specify the namespace where the Guard resides. |


---

# 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-guard/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.
