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

# KEY_REVOKED

> The API key has been revoked.

`401 Unauthorized` · type `authentication`

**When it happens**

An agency admin revoked this key in the portal. Revocation is immediate and permanent.

**What to do**

Ask an agency admin to create a new key under **API Keys** in the portal, and replace the old one in your secret store.

## Example

```json 401 Unauthorized theme={null}
{
  "error": {
    "type": "authentication",
    "code": "KEY_REVOKED",
    "message": "This API key has been revoked.",
    "doc_url": "https://docs.bridgelinepf.com/errors#KEY_REVOKED",
    "request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
  }
}
```

See all [error codes](/errors), or how to [handle errors](/guides/errors).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.