PATCH
/
v1
/
proxies
/
auth
/
whitelist
/
{proxyName}

Whitelist Authentication is a method of restricting access to a proxy server based on the client’s IP address. This is a useful method of restricting access to a proxy server to only those who need it.

By default, all proxies upon deployment utilize a randomly generated basic authorization in the format of username:password. You can disable this basic authorization by updating the proxy’s whitelisted IPs authorized to access the proxy server.

Basic authorization will be disabled upon successfully updating whitelist authorization.

Authorizations

Authorization
string
headerrequired

The Authorization header is used to authenticate with the API using your Master API key. Value is of the format Bearer YOUR_KEY_HERE.

Path Parameters

proxyName
string
required

Replace {proxyName} in the url path with YOUR_PROXY.

Body

application/json
authorize_ip
string
required

Set the IP address to authorize. Use commas to specify multiple IP addresses. e.g. 123.123.23,456.456.56/24,789.789.89.

Response

200 - application/json
ok
boolean

Indicates whether the request was successful e.g., true

message
string

Success message

data
object

Was this page helpful?