---
title: "Revoke Admin Api Key"
method: DELETE
path: "/api/admin/api-keys/{key_id}"
tags: ["admin"]
---

# Revoke Admin Api Key

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

Revoke one of the admin's own API keys.

Idempotent: revoking an already-revoked key returns 200 ok.
Scoped to the calling admin's own keys; an admin cannot revoke
another admin's keys through this endpoint (a separate force-
revoke surface would handle that, with stricter audit).

## Path parameters

- `key_id` integer, required

## Response `200`

Successful Response

- StatusResponse
  - `status` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.net/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/revisions/0e52fe5f8d33/schema)
