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

# Delete SSH key

`DELETE /ssh-keys/{keyId}`

Deletes the given SSH public key by its ID.

## Path parameters

- `keyId` integer, required

## Response `204`

OK - No content

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

## Changes

> 14 revisions in range; 1 not diffed, 3 could not be searched.

- **2026-03-10** `49c99a6944de` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/ssh-keys/:keyId/delete.md)

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/97f7655d105a/schema)
