---
title: "Delete Api Key"
method: DELETE
path: "/v1/api-keys/{key_id}"
tags: ["api-keys"]
---

# Delete Api Key

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

Revoke an API key (removes from Unkey and local DB).

## Path parameters

- `key_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
