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

# POST refresh-api-key

> Einen neuen OddsPapi API-Key erzeugen und den alten ungültig machen, zum Beispiel nach einem Leak.

Ermöglicht dem Client, einen neuen API-Schlüssel zu generieren.

## Endpoint

```http theme={null}
POST /v4/account/refresh-api-key
```

### Beispielantwort

```json theme={null}
{
  "api_key": "b72d5e90-1a3c-4f8b-9d26-0e4c7a51f3b8"
}
```

## Antwort (200 OK)

Bei einer erfolgreichen Anfrage antwortet der Server mit einem Statuscode `200` und gibt ein JSON-Objekt mit den folgenden Feldern zurück:

* **api\_key** `(string)` — Der neu generierte API-Schlüssel, der zur Authentifizierung verwendet wird.

> [!NOTE]
>
> * Ratenbegrenzung: 1 Sekunde


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