跳转到主要内容
POST
/
zone
/
switch_100uptime
cURL
curl --request POST \
  --url https://api.brightdata.com/zone/switch_100uptime \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "zone": "<string>",
  "active": 0
}
'
Warning: This API can modify your account settings, damage your operations or incur charges.
将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌Create an account, generate a token

授权

Authorization
string
header
必填

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

请求体

application/json
zone
string

Zone name

active
enum<integer>

0: Disable automatic failover, 1: Enable automatic failover

可用选项:
0,
1

响应

200

OK