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

# Key revoked

# `key_revoked`

| HTTP | When                                                       |
| ---- | ---------------------------------------------------------- |
| 401  | A workspace admin revoked this API key from the dashboard. |

Once a key is revoked it stays revoked — there is no un-revoke.

To recover:

1. Go to **Settings → Developer → API keys** and check the audit trail
   to see who revoked the key and (if present) why.
2. Mint a replacement key with the same scopes and update your
   integration.
3. Investigate. Revocation is usually deliberate; if it wasn't, treat
   it as a security signal and rotate every other secret your
   integration holds.

See [auth.md §6](../auth.md#6-rotation-playbook) for the full rotation
playbook.
