---
title: "Revoke an API key"
description: "Takes effect at once on the API and within a few minutes on cached verifications."
canonical: https://docs.mentio.dev/api/api-keys/revoke-api-key
markdown: https://docs.mentio.dev/api/api-keys/revoke-api-key.mdx
---

# Revoke an API key

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

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

## Parameters

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

## Responses

- 204: Revoked
- 401: Missing or invalid API key
- 404: API key not found

Full schemas: https://api.mentio.dev/v1/openapi.json. Conventions: https://docs.mentio.dev/conventions.mdx
