更新IP排除列表
HTTP请求方式
POST
请求地址
https://api.e.360.cn/dianjing/account/updateExcludeIp
| 字段 |
类型 |
必须 |
描述 |
| Content-Type |
string |
yes |
application/x-www-form-urlencoded |
| apiKey |
string |
yes |
注册时分配到的api key,该参数作为HTTP HEAD字段传递。 |
| accessToken |
string |
yes |
访问token |
Body 请求参数
| 字段 |
类型 |
必须 |
描述 |
| excludeIpList |
string |
yes |
排除ip,json格式的ip数组,正确的ip、最后一位为号或者最后两位为号,最多300个,其中最后两个区段都是*的IP不能超过5个;每次更新均为全量覆盖方式 |
请求示例
curl -X POST \
--header 'apiKey:APIKEY' \
--header 'accessToken:ACCESSTOKEN' \
--data 'excludeIpList=' \
'https://api.e.360.cn/dianjing/account/updateExcludeIp'