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

# Revoke API key

`DELETE /api-keys/{id}`

Permanently revokes an API key. This action cannot be undone.

## Path parameters

- `id` string, required — API key ID to revoke

## Response `200`

API key revoked successfully

- object
  - `data` object, required
    - `id` string, required
    - `revoked` boolean, required

## Other responses

- `401` — Unauthorized
- `404` — API key not found or already revoked

## Changes

- **2026-08-31** `fafe355d0698` — 1 info
  - the security scope `keys:write` was added to the endpoint's security scheme `bearerAuth`
- **2026-08-29** `4d10ec4266ee` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Change history](https://skmtc.dev/rendobar/apis/rendobar-api/changes/api-keys/:id/delete.md)

---

[API](https://skmtc.dev/rendobar/apis/rendobar-api.md) · [All operations](https://skmtc.dev/rendobar/apis/rendobar-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rendobar/apis/rendobar-api/revisions/e2df91eff7a2?raw)
