> For the complete documentation index, see [llms.txt](https://developer.paddle.com/llms.txt).
>
> To search these docs, send a `GET` request to `https://paddle-docs-retrieval.kapa-paddle.workers.dev/?q=<question>` with a URL-encoded question. No authentication needed. It returns a JSON array of `{content, source_url}`, most relevant first.

# API key can't be rotated

You're trying to rotate an API key that doesn't support rotation.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "api_key_cannot_be_rotated",
    "detail": "This API key doesn't support rotation.",
    "documentation_url": "https://developer.paddle.com/errors/api_keys/api_key_cannot_be_rotated"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `api_key_cannot_be_rotated` |
| Error message | This API key doesn't support rotation. |

## Common causes

- This API key was created without rotation enabled.

## Common solutions

- Create a new API key with rotation enabled.
