curl "http://127.0.0.1:22999/api/proxies/{PORT}/banip" -H "Content-Type: application/json" -d '{"ip":"1.2.1.2","domain":"example.com","ms":60000}'
API endpoint: POST /api/proxies/{PORT}/banip

Path Parameter

PORT
string
required
Existing proxy port number

POST body

ip
string
required
IP to ban. e.g. 1.2.1.2
domain
string
Ban the IP for sending requests to the specified domain
ms
integer
Ban the IP for specified milliseconds
curl "http://127.0.0.1:22999/api/proxies/{PORT}/banip" -H "Content-Type: application/json" -d '{"ip":"1.2.1.2","domain":"example.com","ms":60000}'