---
title: "DELETE /v2/contacts/{contact_id}/publickeys/{pubkey_id}"
method: DELETE
path: "/v2/contacts/{contact_id}/publickeys/{pubkey_id}"
tags: ["keys", "pgp"]
---

# DELETE /v2/contacts/{contact_id}/publickeys/{pubkey_id}

`DELETE /v2/contacts/{contact_id}/publickeys/{pubkey_id}`

Delete a public key

## Path parameters

- `contact_id` string, required
- `pubkey_id` string, required

## Response `204`

Successful deletion

## Other responses

- `401` — Unauthorized access

---

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