GET
/api/dns/zones/{zoneId}/recordsList DNS records in a zone
Lists the DNS records in a specific zone. Use zoneId to retrieve the records associated with that zone.
zoneIdstringrequired
The unique identifier of the zone whose DNS records to list.
200Returns an array of DNS record objects, each containing an identifier, name, record type, content, and TTL.
idstringrequired
DNS record ID
contentstringrequired
DNS record content (IP address for A/AAAA, domain for CNAME)
namestringrequired
FQDN for the DNS record. Must be a subdomain within or match the zone's domain.
ttlintegerrequired
Time to live in seconds
typestringrequired
DNS record type
401Returned when authentication is required but missing or invalid.
403Returned when access to the zone's DNS records is forbidden.
404Returned when the DNS zone cannot be found.
500Returned when an internal server error occurs.
Error handling
A 401 is returned when authentication is required but missing or invalid, and a 403 when access is forbidden. A 404 is returned when the zoneId path parameter does not identify an available zone; a 500 indicates an internal server error.