---
title: "Revoke an API key"
method: DELETE
path: "/keys/{keyId}"
---

# Revoke an API key

`DELETE /keys/{keyId}`

## Request

- Base URL: `https://lucid.page`
- URL: `https://lucid.page/keys/{keyId}`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `apiKey`
  - none

## Path parameters

- `keyId` string, required

## Response `200`

Revoked

- object

## Other responses

- `401`: Authentication required
- `404`: Not found

---

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