---
title: "Delete an SSH Key"
method: DELETE
path: "/ssh-keys/{account_ssh_key}"
tags: ["ssh_keys"]
---

# Delete an SSH Key

`DELETE /ssh-keys/{account_ssh_key}`

The endpoint deletes an SSH key by ID.

## Path parameters

- `account_ssh_key` string, required

## Response `204`

Deleted.

## Other responses

- `404` — SSH key not found or user unauthorized.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/versions/fc927526ad12/schema)
