跳转到主要内容
DELETE
/
zone
/
whitelist
cURL
curl --request DELETE \
  --url https://api.brightdata.com/zone/whitelist \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "zone": "<string>",
  "ip": "<string>"
}'
Warning: This API can modify your account settings, damage your operations or incur charges.
将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌Create an account, generate an API key

Authorizations

Authorization
string
header
required

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

Body

application/json
zone
string

Zone name.

Note: can be skipped to affect all your zones.

ip
string

can be in one fo the following formats:

  • Delete a single IP - ip="1.2.1.2"
  • Delete a IP range - ip="1.2.1.2-1.2.1.10"
  • Delete a IP subnet - ip="10.20.30.40/24"
  • Delete a IP mask - ip="10.20.30.40/255.255.255.0"

Response

200

OK