> 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/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/instance/ssh/delete.md).

# delete

Delete a SSH public key in your project's region. This command allows you to delete a SSH public key.

## Usage

```
cldkctl flexi instance ssh delete [name] [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl flexi instance ssh delete [key-name] 
```

2. Replace **\[key-name]** with the name of the SSH key you want to delete.
3. Once completed successfully, the terminal displays the success message.

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

## Flags

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

| Flag             |    | Description                  |
| ---------------- | -- | ---------------------------- |
| --help           | -h | Help for the delete command. |
| --project string | -p | Specify project ID           |
