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

# Revoke the previous key

> End the key this one replaced now, instead of at the end of its 24 hours.

Scope: `nft:orders`

Call it with the **new** key once every server uses it. The key it replaced stops working immediately instead of at the end of the 24 hours, and its webhook stops with it. Do this whenever you rotate because a key may have leaked. No body.

## Response

**revoked** `object`

`id` (the key that was ended) and `at`.

## Errors

| Status | Code | When |
| - | - | - |
| `409` | `NO_PREVIOUS_KEY` | This key didn't replace another key |

```bash cURL theme={null}
curl -X POST https://catchbackcards.com/api/partner/v2/keys/revoke-previous \
  -H "Authorization: Bearer cb_live_<new key>"
```

```json 200 theme={null}
{ "revoked": { "id": "c2f0e8b4-...", "at": "2026-11-17T10:05:00.000Z" } }
```


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