---
title: "Delete an API key"
method: DELETE
path: "/api-keys/{key_id}"
tags: ["API Keys"]
---

# Delete an API key

`DELETE /api-keys/{key_id}`

Revokes an API key. Subsequent requests using its value are rejected as unauthorized.

## Path parameters

- `key_id` string, uuid, required — API key identifier to delete

## Response `200`

OK

- DeleteAPIKeyOutputBody — Confirmation that the API key was deleted.
  - `message` string, required — Human-readable result message.

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/axilioai/apis/axilio-api-2.md) · [All operations](https://skmtc.dev/axilioai/apis/axilio-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/axilioai/axilio-api-2/revisions/261c340a3f6d/schema)
