> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boltroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke API key

> Revoke an API key.

## Overview

Revoke an API key so it can no longer be used for authentication or requests.

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

Purpose: revoke an API key.

Path parameter:

* `id` (UUID)

Example request:

```bash theme={null}
curl -X DELETE \
  'https://api.boltroute.ai/api/v1/api-keys/550e8400-e29b-41d4-a716-446655440000'
```

### Response

Status: `200 OK`

Example response:

```json theme={null}
{ "message": "API key revoked successfully" }
```

Errors:

* `400` invalid UUID.
* `401` unauthorized.
* `404` key not found.
* `500` internal error.
