> ## 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

> 生成新的 OddsPapi API Key 并使旧 Key 失效，适用于 Key 泄露等情况。

允许客户端刷新（重新生成）其 API 密钥。

## 端点

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

### 响应示例

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

## 响应 (200 OK)

当请求成功时，服务器会返回状态码 `200` 并返回包含以下字段的 JSON 对象:

* **api\_key** `(string)` — 新生成的 API 密钥。

> [!NOTE]
>
> * 速率限制：1 秒


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