---
title: "Revoke API Key"
method: DELETE
path: "/api-keys/{api_key_id}"
tags: ["api-keys"]
---

# Revoke API Key

`DELETE /api-keys/{api_key_id}`

## Request

- Base URL: `https://api.coinvoyage.io/v3`
- URL: `https://api.coinvoyage.io/v3/api-keys/{api_key_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3/docs/api-keys/:api_key_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `api_key_id` string, required

## Headers

- `Authorization-Signature` string, required

## Response `204`

API key revoked

## Other responses

- `401`: Unauthorized
- `404`: API key not found
- `409`: The last active API key cannot be revoked
- `500`: Internal Server Error

## Changes

- **2026-08-14** `0ca79f36d480`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3/changes/api-keys/:api_key_id/delete.md)

---

[API](https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3.md) - [All operations](https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3/revisions/3535f46f4c27?raw)
