IP地址簿 追加IP
更新时间:2026-04-04
POST
/v1/waf/ipBook/ipAppend
IP地址簿 追加IP
请求参数
Headers 参数
除公共头域外,无其它特殊头域
Body 参数
ipList
array
ip列表
必选
显示子属性
隐藏子属性
items
string
ipType=ip 传ip地址
ipBookKey
string
地址簿唯一标识
必选
ipType
string
追加方式。固定值:ip
必选
请求结构
{
"ipList": ["string"],
"ipBookKey": "string",
"ipType": "string"
}
示例代码
curl -X POST "/v1/waf/ipBook/ipAppend" \
-H "Content-Type: application/json" \
-d '{
"ipList": ["192.168.0.1"],
"ipBookKey": "your-key-here",
"ipType": "ip"
}'
{
"ipList": ["192.168.0.1"],
"ipBookKey": "your-key-here",
"ipType": "ip"
}
返回响应
Headers 参数
除公共头域外,无其它特殊头域
返回参数
success
boolean
必选
status
integer
必选
成功响应
{
"success": true,
"status": 200
}
评价此篇文章
