English
cURL
curl --request POST \ --url https://api.brightdata.com/zone/domain_perm \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "zone": "<string>", "type": "whitelist", "domain": "<string>" }'
Add domain to Zone whitelist or blacklist
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
Was this page helpful?