---
title: "Revoke API key"
method: DELETE
path: "/v1/api-keys/{key_id}"
tags: ["api-keys"]
---

# Revoke API key

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

## Request

- Base URL: `https://api.framelane.io`
- URL: `https://api.framelane.io/v1/api-keys/{key_id}`
- Auth: HTTP bearer

Revoke an API key. Revoked keys are rejected on all subsequent requests.

## Path parameters

- `key_id` string, required

## Response `204`

Successful Response

## Other responses

- `401`: Missing or invalid API key.
- `404`: API key not found.
- `422`: Validation Error

---

[API](https://skmtc.dev/framelane/apis/framelane-api.md) · [All operations](https://skmtc.dev/framelane/apis/framelane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/framelane/apis/framelane-api/revisions/a223001ca8e5?raw)
