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

# Delete an API key

`DELETE /v2/api-keys/{api_key_id}`

Permanently deletes an API key. Cache entries in `API_KEYS_KV` are invalidated immediately so an in-flight token cannot ride out the TTL. The response body is empty on success.

## Path parameters

- `api_key_id` string, required

## Response `204`

API key deleted successfully.

---

[API](https://skmtc.net/orq-ai/apis/orq-ai-api.md) · [All operations](https://skmtc.net/orq-ai/apis/orq-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orq-ai/orq-ai-api/versions/41c02aedc7c0/schema)
