跳转到主要内容
DELETE
/
zone
/
domain_perm
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"
}
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
required

Zone name

type
enum<string>
required

whitelist - To allowlist an IP

blacklist - To denylist an IP

可用选项:
whitelist,
blacklist
domain
string
required

space separated list of domains

Example:

"d1.com d2.com"

Response

200 - application/json

OK

The response is of type object.