# 通过 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chainupcloud.com/zhong-wen/chainupcloud-kai-fang-api/eth-zhi-ya-api/tong-guo-pubkeys-tui-chu-yan-zheng-qi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
