DELETE
/
zone
/
ips
curl --request DELETE \
  --url https://api.brightdata.com/zone/ips \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "zone": "<string>",
  "ip": "<string>"
}'
{
  "ips": [
    "ip1",
    "ip2"
  ]
}
Warning: This API can modify your account settings, damage your operations or incur charges.

将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌

Create an account, 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

Zone name

Note: can be skipped to affect all your zones

ip
string

can be in one of the following formats:

  • Delete a single IP - ip="1.2.1.2"

  • Delete a IP range - ip="1.2.1.2-1.2.1.10"

  • Delete a IP subnet - ip="10.20.30.40/24"

  • Delete a IP mask - ip="10.20.30.40/255.255.255.0"

Response

200 - application/json
OK

The response is of type object.