curl "https://api.brightdata.com/zone/ips/refresh" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer API_TOKEN" \
  -d '{"zone":"ZONE","ips":["ip1","ip2"]}'
{
    "ips":[
        "1.1.1.1",
        "1.1.1.2",
        "1.1.1.3"
    ],
    "new_ips":[
        "1.1.1.1",
        "1.1.1.3"
    ]
}

API Endpoint: POST /api/zone/ipsapi

zone
string
required

Zone name

ips
array

IPs to refresh

If refresh is needed for all allocated IPs, then ips parameter should be omitted

country
string

new IPs’ country (e.g. us)

country_city
string

new IPs’ city (e.g. us-chicago)