---
title: "Delete one of the caller's SSH public keys"
method: DELETE
path: "/api/v0beta1/secrets/ssh-public-keys/{id}"
tags: ["Secrets"]
---

# Delete one of the caller's SSH public keys

`DELETE /api/v0beta1/secrets/ssh-public-keys/{id}`

Removes the key from the caller's set. This does not revoke access on sandboxes that are already provisioned: permitted keys are resolved at provision time, so the removal takes effect the next time a sandbox is provisioned, and it does not terminate sessions that are already open.

## Path parameters

- `id` string, required

## Response `204`

SSH public key deleted.

## Other responses

- `401` — Error
- `404` — Error

---

[API](https://skmtc.net/amika/apis/amika-api.md) · [All operations](https://skmtc.net/amika/apis/amika-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amika/amika-api/revisions/664536fccd0e/schema)
