---
title: "Revoke Api Key"
method: DELETE
path: "/api/keys/{key_id}"
---

# Revoke Api Key

`DELETE /api/keys/{key_id}`

## Request

- Base URL: `https://www.conceptio.app` (the document declares no server; this is the origin it was published from)
- URL: `https://www.conceptio.app/api/keys/{key_id}`
- Auth: none declared

Revoke one of the signed-in user's API keys (soft-delete: status flip +
revoked_at). Scoped to the requesting email — cannot revoke others' keys.

## Path parameters

- `key_id` integer, required

## Headers

- `authorization` string, nullable
- `x-license-key` string, nullable
- `x-principal` string, nullable
- `x-api-key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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