POST
/
zone
/
whitelist
Warning: This API can modify your account settings, damage your operations or incur charges.

将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌

Create an account, generate a token

Authorizations

Authorization
string
headerrequired

Bearer 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