DELETE
/
zone
/
domain_perm
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"
}
Warning: This API can modify your account settings, damage your operations or incur charges.

Paste your API token to the authorization field. To get a token, Create an account and learn how to generate a token

Authorizations

Authorization
string
header
required

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

Body

application/json
zone
string
required

Zone name

type
enum<string>
required

whitelist - To whitelist an IP

blacklist - To blacklist an IP

Available options:
whitelist,
blacklist
domain
string
required

space separated list of domains

Response

200 - application/json
OK

The response is of type object.