---
title: "Delete SSH keys"
method: DELETE
path: "/v1/ssh-keys/{sshKeyId}"
tags: ["SSH keys"]
---

# Delete SSH keys

`DELETE /v1/ssh-keys/{sshKeyId}`

## Request

- Base URL: `https://api.emma.ms/external`
- URL: `https://api.emma.ms/external/v1/ssh-keys/{sshKeyId}`
- Auth: HTTP bearer

This method deletes a SSH key. You can only delete an SSH key created by the current Service application that you use to send a request. You can't delete SSH keys created by other users and applications.

## Path parameters

- `sshKeyId` integer, required

## Response `204`

Successful operation

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/emma/apis/public-emma-api.md) - [All operations](https://skmtc.dev/emma/apis/public-emma-api/llms.txt) - [OpenAPI document](https://skmtc.dev/emma/apis/public-emma-api/revisions/9e55f0920078?raw)
