Account Management API
Whitelist IP(s)
Add IP to zone’s whitelist
POST
/
zone
/
whitelist
Warning: This API can modify your account settings, damage your operations or incur charges.
Paste your API token to the authorization field. To get a token, Create an account and learn how to generate a token
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
ip
required
string
or array of strings
Single IP, IP Array, IP range, IP subnet or IP mask
Example
-
Single IP: 10.20.30.40
-
IP Array: ["10.20.30.40", "50.60.70.80",...]
-
Range: 10.20.30.40-10.20.30.50
-
Subnet: 10.20.30.0/24
-
Netmask: 10.20.30.0/255.255.252.0
Note IP array syntax requires quotes "
for each IP string in array
zone
string
Zone name. Can be skipped to affect all your zones
Was this page helpful?