---
title: "Revoke API key"
method: POST
path: "/keys/{id}/revoke"
tags: ["Keys"]
---

# Revoke API key

`POST /keys/{id}/revoke`

Revoke an API key. The key will stop working immediately.

## Path parameters

- `id` string, uuid, required

## Response `200`

Key revoked.

- object
  - `message` string

## Other responses

- `401` — Invalid or expired token.
- `404` — Key not found.

---

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