---
title: Delete SSH Keys
url: https://docs.vultr.com/products/orchestration/ssh-keys/delete-ssh-keys
description: Learn how to permanently remove SSH keys from your Vultr account when theyre no longer needed.
publish_date: 2024-11-15T18:19:46.812926Z
last_updated: 2026-05-26T20:19:00.354251Z
---

# How to Delete Vultr SSH Keys

Deleting a Secure Shell (SSH) key removes the public key from your Vultr account. After deleting the key, you can no longer log in to your account using the corresponding private key. This action is necessary if you've inactive or compromised keys.

Follow this guide to delete SSH keys using the Vultr Console, API, or CLI.

=== "Vultr Console"

    1. Navigate to **Account** and select **SSH Keys** under **OTHER**.
    1. Select the SSH key from the list and click the **Delete SSH Key** icon.

        ![SSH Key List](https://docs.vultr.com/public/doc-assets/collection-items/914/fdc0f7d9-35f9-4a78-b21d-9b020537bad9.png)

    1. Click **Delete SSH Key** in the confirmation prompt to permanently delete the target SSH Key.

        ![Delete SSH Key](https://docs.vultr.com/public/doc-assets/collection-items/914/e3f67e80-7a88-49de-b33a-a3b635700825.png)

=== "Vultr API"

    1. Send a `GET` request to the [**List SSH Keys** endpoint](https://www.vultr.com/api/#tag/ssh/operation/list-ssh-keys) and note the target SSH key's ID.

        ```console
        $ curl "https://api.vultr.com/v2/ssh-keys" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

    1. Send a `DELETE` request to the [**Delete SSH Key** endpoint](https://www.vultr.com/api/#tag/ssh/operation/delete-ssh-key) and specify the ID to delete the target SSH key.

        ```console
        $ curl "https://api.vultr.com/v2/ssh-keys/{ssh-key-id}" \
            -X DELETE \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

=== "Vultr CLI"

    1. List all SSH keys and note the target SSH key ID.

        ```console
        $ vultr-cli ssh-keys list
        ```

    1. Delete the target SSH Key by specifying the ID.

        ```console
        $ vultr-cli ssh-keys delete <ssh-key-id>
        ```