---
title: "Revoke key"
description: "Revoke an API key immediately."
section: "API reference"
url: https://dravo.dev/docs/api/api-keys/revoke
---
# Revoke key

Revocation is immediate. Any request using the revoked key fails afterwards.

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

Revoke an API key immediately.

**Auth:** Dashboard JWT only

| Field | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `key_id` | path | string | yes | Key to revoke. |

Response `204`: Revoked. No content.
