---
title: "Remove the specified SSH key"
method: DELETE
path: "/sshkeys/{key_id}"
tags: ["sshkeys"]
---

# Remove the specified SSH key

`DELETE /sshkeys/{key_id}`

This resource allows you to delete only your own key.

## Path parameters

- `key_id` string, required

## Response `204`

No Content

- object

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
