POST
/
zone
/
change_disable
curl --request POST \
  --url https://api.brightdata.com/zone/change_disable \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "zone": "<string>",
  "disable": 0
}'
{
  "plan": {
    "start": "2019-07-15T18:08:59.269Z",
    "type": "static",
    "ips_type": "shared",
    "ip_alloc_preset": "shared_block",
    "bandwidth": "payperusage",
    "disabled": 1
  }
}
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
required

Zone name

disable
enum<number>
required

0 - activate zone

1 - disable zone

Available options:
0,
1

Response

200 - application/json
OK

The response is of type object.