跳转到主要内容
DELETE
/
v1
/
xdp
/
whitelist
移除白名单条目
curl --request DELETE \
  --url http://127.0.0.1:22100/v1/xdp/whitelist \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ip": "<string>"
}
'
{
  "ok": true,
  "removed": true,
  "ip": "<string>"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
ip
string
必填

IP 或 CIDR 文本。

响应

条目已移除或不存在

ok
boolean
必填
removed
boolean
必填
ip
string
必填