POST
/
zone
/
blacklist
curl --request POST \
  --url https://api.brightdata.com/zone/blacklist \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "zone": "<string>",
  "ip": "<string>"
}'

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
headerrequired

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

Body

application/json
zone
string

Zone name. Can be skipped to affect all your zones

ip
string
required

Single IP, IP range, IP subnet or IP mask