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

# Revoke an API key

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

## Request

- Base URL: `https://api.mentio.dev`
- URL: `https://api.mentio.dev/v1/api-keys/{id}`
- Auth: HTTP bearer

Takes effect at once on the API and within a few minutes on cached verifications.

## Path parameters

- `id` string, required: API key id (key_...).

## Response `204`

Revoked

## Other responses

- `401`: Missing or invalid API key
- `404`: API key not found

---

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