---
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.
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `message` string, required — Human-readable result message.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/axilioai/apis/axilio-api.md) · [All operations](https://skmtc.net/axilioai/apis/axilio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/axilioai/axilio-api/revisions/108ab4b41051/schema)
