cURL
curl --request DELETE \ --url https://api.brightdata.com/zone/domain_perm \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "zone": "<string>", "type": "whitelist", "domain": "d1.com d2.com" } '
{ "whitelist": "example.org" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Zone name
whitelist - To whitelist an IP
whitelist
blacklist - To blacklist an IP
blacklist
space separated list of domains
"d1.com d2.com"
OK
The response is of type object.
object
Was this page helpful?