Passa al contenuto principale

DnsZoneResponse

Successful response with one DnsZone

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data objectrequired

Resource returned by the operation

zone_idstringrequired

Id of the zone on our nameservers or at Cloudflare

zone_namestringrequired

Name of the zone: the domain name in punycode

nameserversstring[]required

Hostnames of the nameservers of the zone; with Cloudflare, the ones that Cloudflare assigned to it

ttlinteger | nullnullablerequired

TTL of the zone, in seconds, which with the standard and external nameservers is also the TTL of every record; null with Cloudflare, whose zones have no TTL

metarequired

Always null: only the paginated lists have a meta

Constant value: null
DnsZoneResponse
{
"error": 0,
"message": "string",
"data": {
"zone_id": "string",
"zone_name": "string",
"nameservers": [
"string"
],
"ttl": 0
}
}