---
title: "清理过期的封禁IP记录"
method: DELETE
path: "/api/v1/blocked-ips/cleanup"
tags: ["封禁IP管理"]
---

# 清理过期的封禁IP记录

`DELETE /api/v1/blocked-ips/cleanup`

删除已过期的封禁IP记录，释放存储空间

## Response `200`

清理完成

- object — 成功的API响应标准格式
  - `code` integer
  - `data` DtoBlockedIPCleanupResponse — 清理过期封禁IP记录的响应数据
    - `deletedCount` integer — 删除的记录数量
    - `message` string — 操作结果消息
  - `message` string
  - `requestId` string
  - `success` boolean
  - `timestamp` string

## Other responses

- `401` — 未授权访问
- `403` — 禁止访问
- `500` — 服务器内部错误

---

[API](https://skmtc.net/labring/apis/ruiqi-waf-api.md) · [All operations](https://skmtc.net/labring/apis/ruiqi-waf-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labring/ruiqi-waf-api/revisions/aaacd7e06a88/schema)
