GET
/
dns
/
v2
/
zones
/
{zoneName}
/
export
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
response = client.dns.zones.export(
    "zoneName",
)
print(response.raw_zone)
{
  "raw_zone": "<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

Path Parameters

zoneName
string
required

Response

200
application/json

ExportZoneResponse

The response is of type object.