Skip to main content
GET
/
cloud
/
public
/
v1
/
ipranges
/
egress
Python
from gcore import Gcore

client = Gcore()
ip_ranges = client.cloud.ip_ranges.list()
print(ip_ranges.ranges)
{
  "ranges": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Response

200 - application/json

OK

ranges
(string<ipv4interface> | string<ipv6interface>)[]
required

IP ranges list