> For the complete documentation index, see [llms.txt](https://docs.ggwp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ggwp.com/chinese-simplified/api-wen-dang-yin-si/yong-hu-shan-chu.md).

# 用户删除

\[ 基础 URL: `api.ggwp.com`]

`DELETE` /privacy/v1/delete

## **描述**

用于从 GGWP 平台移除用户数据的 API 端点。

## **参数**

`请求体`：包含以下字段的字典：

* **user\_id**：将被移除其数据的用户的唯一标识符。

示例调用：

```bash
curl --request DELETE 'https://api.ggwp.com/privacy/v1/delete' \
--header 'x-api-key: api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "user_id": "<id1>"
}'
```

## **输出**

* 200 - 操作成功

  ```json
  {
    "status": "成功"
  }
  ```
* 400
  * 无效输入（例如：缺少 *user\_id* 或类型不正确）
* 403
  * 无效或缺失的 API 密钥
* 500
  * 错误响应
