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

# Revoke an API key

`DELETE /api-keys/{api_key_id}`

Revokes an API key bound to the authenticated caller. Repeating the request is safe and does not change the original revocation time.

## Path parameters

- `api_key_id` string, uuid, required

## Response `204`

API key is revoked

## Other responses

- `400` — Invalid API key ID
- `401` — Missing or invalid API key
- `403` — Scope or principal policy denied the request
- `404` — API key not found
- `429` — Rate limit exceeded
- `500` — Internal Server Error
- `503` — Authentication or rate-limit store unavailable

## Changes

> 76 revisions in range; 20 not diffed.

- **2026-09-11** `0375753f8ee3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qlonolink/apis/qaip-apis/changes/api-keys/:api_key_id/delete.md)

---

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