---
title: "DELETE /biome/keys/{public_key}"
method: DELETE
path: "/biome/keys/{public_key}"
tags: ["Biome"]
---

# DELETE /biome/keys/{public_key}

`DELETE /biome/keys/{public_key}`

Delete key of a user

## Path parameters

- `public_key` string, required

## Headers

- `Authorization` string, required
- `SplinterProtocolVersion` integer

## Response `200`

User's key deleted successfully

- object
  - `message` string
  - `data` BiomeUserKey
    - `display_name` string — Display name for key
    - `encrypted_private_key` string — Encrypted private key
    - `public_key` string — Public key
    - `user_id` string — Internal unique identifier for the user

## Other responses

- `400` — Request was malformed
- `401` — The client is unauthorized
- `404` — Resource not found
- `500` — Internal server error occurred

## Changes

- **2021-10-22** `3d48411105a9` — 1 warning
  - deleted the `path` request parameter `user_id`
- **2021-05-13** `f5e618c6f5df` — 1 breaking
  - added the new path request parameter `user_id`

[Change history](https://skmtc.dev/cargill/apis/splinterd-api/changes/biome/keys/:public_key/delete.md)

---

[API](https://skmtc.dev/cargill/apis/splinterd-api.md) · [All operations](https://skmtc.dev/cargill/apis/splinterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cargill/splinterd-api/revisions/38a272c24bd9/schema)
