curl -X DELETE "https://api.brightdata.com/zone/whitelist" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer API\_TOKEN" \
	-d '{"zone":"ZONE","ip":"1.2.1.2"}'

API Endpoint: DELETE /api/zone/whitelist

zone
string

can be skipped to affect all your zones

ip
string

can be in one of 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"