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

# Revoke Api Key

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

Revoke an API key.

## Path parameters

- `key_id` string, required

## Headers

- `authorization` string, nullable

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/knownwell/apis/knownwell-api.md) · [All operations](https://skmtc.net/knownwell/apis/knownwell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/knownwell/knownwell-api/versions/3cf7fd5ae733/schema)
