跳转到主要内容
API 端点: POST /api/proxies/{PORT}/banips

路径参数

PORT
string
必填
现有代理端口号

POST 请求体

ips
array
必填
要封禁的 IP 地址。例如 [“10.0.0.1”,“20.0.0.1”]
domain
string
针对发送到指定域名的请求封禁该 IP
ms
integer
封禁该 IP 的时长(毫秒)
curl "http://127.0.0.1:22999/api/proxies/{PORT}/banips" -H "Content-Type: application/json" -d '{"ips":["10.0.0.1","20.0.0.1"],"domain":"example.com","ms":60000}'