# key_revoked

> key_revoked (401): the API key has been revoked and can no longer authenticate requests.

Canonical: https://corpoapi.com/errors/key_revoked

HTTP 401 · Key revoked

The API key has been revoked and can no longer authenticate requests.

## Why it happens

A key is revoked when it is rotated, deleted, or disabled after suspected exposure.

## How to fix it

Create a new key in the dashboard, replace it in your environment, and keep the revoked key out of logs and source control.

## Example response

```json
{
  "type": "https://corpoapi.com/errors/key_revoked",
  "title": "Key revoked",
  "status": 401,
  "code": "key_revoked",
  "detail": "This API key has been revoked."
}
```
