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}'

API endpoint: POST /api/proxies/{PORT}/banips

Path Parameter

PORT
string
required

Existing proxy port number

POST body

ips
array
required

IPs to ban. e.g. [“10.0.0.1”,“20.0.0.1”]

domain
string

Ban the IP for sending requests to the specified domain

ms
integer

Ban the IP for specified milliseconds