# delete

The cdn delete command deletes a specific CDN distribution. This command requires the CDN distribution ID.

## Usage

```
cldkctl cdn delete [id] [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl cdn delete [cdn-id]
```

2. Replace `[cdn-id]` with the ID of the CDN distribution to be deleted. Refer to cdn list section to obtain the CDN distribution ID.
3. Once completed successfully, a message **“✓ CDN distribution deleted successfully!”** will appear in the terminal.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FFgoX3YyFKwnXuQBBI3ZC%2Funknown.png?alt=media&#x26;token=544a1e7b-ab18-43d6-a223-e33f0b47c39d" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag       | Description                  |
| ---------- | ---------------------------- |
| -h, --help | Help for cdn delete command. |
