跳转到主要内容
POST
/
zone
/
ips
/
migrate
cURL
curl --request POST \
  --url https://api.brightdata.com/zone/ips/migrate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "from": "zone1",
  "to": "zone2",
  "ips": [
    "1.1.1.1",
    "2.1.1.5",
    "3.1.1.100"
  ]
}
'
{
  "from": "zone1",
  "to": "zone2",
  "count": 3
}
警告:此 API 可能会修改账户设置、影响正常操作或产生额外费用。
请将 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
from
string
必填

Zone which IPs will be migrated from

示例:

"zone1"

to
string
必填

Zone to which IPs will be migrated

示例:

"zone2"

ips
string
必填

IPs to migrate

示例:
["1.1.1.1", "2.1.1.5", "3.1.1.100"]

响应

200 - application/json

OK

The response is of type object.