---
title: "Remove keys"
method: POST
path: "/v1/cryptotoken/{cryptotoken_name}/{key_pair_alias}/removekeys"
tags: ["v1/cryptotoken"]
---

# Remove keys

`POST /v1/cryptotoken/{cryptotoken_name}/{key_pair_alias}/removekeys`

Remove a key pair given crypto token name and key pair alias to be removed.

## Path parameters

- `cryptotoken_name` string, required
- `key_pair_alias` string, required

## Response `200`

Successful operation

## Changes

- **2025-03-11** `4045b1bab09f` — 1 info
  - added the success response with the status `200`
- **2025-03-11** `37878df36b77` — 1 breaking
  - removed the success response with the status `200`
- **2025-01-24** `d0f3affe7c3c` — 1 info
  - added the success response with the status `200`
- **2024-07-05** `b6fc2ad168e5` — 1 breaking
  - removed the success response with the status `200`

[Change history](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface/changes/v1/cryptotoken/:cryptotoken_name/:key_pair_alias/removekeys/post.md)

---

[API](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface.md) · [All operations](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keyfactor/ejbca-rest-interface/revisions/44f8798658e2/schema)
