# 通过 Pubkeys 退出验证器

此 API 端点允许您**同时**从多个验证器中**取消质押**。

### &#x20;HTTP 请求

```HTTP
POST /api/v1/validator/exit
```

**Path Params** 路径参数

No param 无参数<br>

**Request:** 请求：

* **pubkeys (array):** This parameter is mandatory and requires a list of public keys for the validators you want to exit. **pubkeys（数组）**：此参数是必需的，需要您要退出的验证器的公钥列表。

### **Response:** 响应：

* If successful, you'll receive a response with: 如果成功，您将收到以下响应：
  * **code：**“200”表示成功。
  * **msg：**“成功”确认退出请求。

### 示例

```JSON
{
    "code": "200",
    "msg": "Success"
}

```

{% hint style="info" %}

* 与单独退出相比，此 API 简化了从多个验证器退出的过程。
* 仔细检查公钥以确保您针对的是预期的验证器。
  {% endhint %}
