> 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/deka-gpu-documentations/panduan-untuk-enterprise/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="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-246ff63deccc8fdd1e34e57cf463fa954c9ab922%2Funknown.png?alt=media" 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. |
