---
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 2 of 92 revisions.

- **2026-07-09** `183f82172fec` — 3 info
- **2026-04-30** `8c84efcb3afb` — 3 warning

## Changes

- **2026-07-09** `183f82172fec` — 3 info
  - added the optional property `organization_id` to the response with the `200` status
  - added the optional property `owner_type` to the response with the `200` status
  - added the optional property `team_id_restriction` to the response with the `200` status
- **2026-04-30** `8c84efcb3afb` — 3 warning
  - removed the optional property `organization_id` from the response with the `200` status
  - removed the optional property `owner_type` from the response with the `200` status
  - removed the optional property `team_id_restriction` from the response with the `200` status

---

[Operation](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/docs/api/api-keys/:key_id/delete.md) · [API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) · [Page](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/api-keys/:key_id/delete)
