---
title: "Changes to Revoke API key"
method: DELETE
path: "/api/api-keys/{key_id}"
---

# Changes to Revoke API key

`DELETE /api/api-keys/{key_id}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 79 revisions.

- **2026-08-08** `815e0302a988` — 1 breaking, 1 info
- **2026-08-05** `c3e15c78f2da` — 4 info
- **2026-08-05** `6397cb5a99c5` — 2 info
- **2026-05-18** `9af798cdc7db` — 1 breaking, 1 info

## Changes

- **2026-08-08** `815e0302a988` — 1 breaking, 1 info
  - response property `detail` list-of-types was widened by adding types `string` to media type `application/json` of response `422`
  - the response property `detail` became required for the status `422`
- **2026-08-05** `c3e15c78f2da` — 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
- **2026-08-05** `6397cb5a99c5` — 2 info
  - api operation id `delete_api_key_api_api_keys__key_id__delete` removed and replaced with `delete_api_key`
  - the endpoint scheme security `clerkSession` was added to the API
- **2026-05-18** `9af798cdc7db` — 1 breaking, 1 info
  - removed the success response with the status `204`
  - added the success response with the status `200`

---

[Operation](https://skmtc.dev/gumnut-ai/apis/gumnut-api/docs/api/api-keys/:key_id/delete.md) · [API](https://skmtc.dev/gumnut-ai/apis/gumnut-api.md) · [Page](https://skmtc.dev/gumnut-ai/apis/gumnut-api/changes/api/api-keys/:key_id/delete)
