POST
/
zone
/
ips
/
migrate
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

Authorizations

Authorization
string
header
required

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

Body

application/json
from
string
required

Zone which IPs will be migrated from

Example:

"zone1"

to
string
required

Zone to which IPs will be migrated

Example:

"zone2"

ips
string
required

IPs to migrate

Example:
["1.1.1.1", "2.1.1.5", "3.1.1.100"]

Response

200 - application/json
OK

The response is of type object.