Skip to main content
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.
Paste your API key to the authorization field. To get an API key, Create an account and learn how to 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