> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-guard/delete.md).

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