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

# Delete Key

`DELETE /v1/keys/{key_id}`

Delete (revoke) an API key in the caller's organization.

Requires master key authentication.

## Path parameters

- `key_id` string, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-20** `d9a87177ce4a` — 1 info
  - the endpoint scheme security `XApiKeyAuth` was added to the API
- **2026-07-14** `0ad4e5f1cc3e` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
- **2026-04-17** `0f43605bdc13` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API

[Change history](https://skmtc.dev/mozilla-ai/apis/otari/changes/v1/keys/:key_id/delete.md)

---

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