GET
/
zones
/
{zone_id}
/
ips
curl --request GET \
  --url https://api.bytio.com/v1/zones/{zone_id}/ips \
  --header 'X-API-KEY: <api-key>'
{
  "status": "ok",
  "ips": [
    "<string>"
  ]
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

zone_id
string
required

The ID of the zone to retrieve IPs for.

Maximum length: 8

Query Parameters

country_codes
string

A comma separated string of two-letter country codes to limit the returned IPs to, for example us,de to return zone IPs from the United States and Germany.

Maximum length: 100

Response

200
application/json
Success
status
enum<string>
Available options:
ok
ips
string[]

An array of strings containing the IPs in the zone.