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

> 通过 v4 REST API 更新 OddsPapi 账户设置，例如默认语言。

允许客户端更新账户信息。

## 端点

```http theme={null}
POST /v4/account
```

## 请求参数

* **language** `(string)` — 指定账户界面使用的语言。
  * 参见 `a2` 在以下响应中的值： `/languages`

### 请求示例

```http theme={null}
POST /v4/account?language=en
```

### 响应示例

```json theme={null}
{
  "message": "Language successfully updated to: en"
}
```

## 响应 (200 OK)

当请求成功时，服务器会返回状态码 `200` 并返回与其相同的 JSON 对象 [GET account](https://oddspapi-v4.mintlify.site/zh/docs/get-account.md).

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


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