---
title: "Remove SSH Public Key"
method: DELETE
path: "/v0/users/{user_id}/keys/{key_id}"
tags: ["users"]
---

# Remove SSH Public Key

`DELETE /v0/users/{user_id}/keys/{key_id}`

Removes an SSH public key from the authenticated user's account.
The key will no longer be usable for Git operations or SFTP access.

## Path parameters

- `user_id` string, required
- `key_id` string, required

## Response `204`

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

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