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

Revoke an API key

Revoke an API key, for example one that leaked. Requires scope `publisher:write` (API key or web session); not available in view-as. Rate limit tier: `write`.

- Required scope: `publisher:write`
- Rate limit: `write` — 20 requests per 60-second window per API key or web session

## Parameters

| Name | In | Type | Required |
|---|---|---|---|
| `id` | path | integer | yes |

## Response

```
any
```

## Errors

Rate-limited routes return `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` (seconds until the window ends); a 429 also carries `Retry-After`. The headers may be absent while the limiter is temporarily unavailable (requests are then let through).

| Status | Meaning |
|---|---|
| 401 | Missing, invalid or revoked API key. |
| 403 | The key lacks the required scope, or the operation is not allowed for this actor. |
| 429 | Rate limit exceeded; wait `Retry-After` seconds. |
| 404 | Default Response |

HTML documentation: https://agimone.com/en/developers/api/#revoke-api-key
API 2026-10
