List DNS records
GET
/api/v2/organizations/{organization}/dns/zones/{zoneId}/records
const url = 'https://dashboard.quantcdn.io/api/v2/organizations/example/dns/zones/example/records?type=A&limit=100&offset=0&sync=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://dashboard.quantcdn.io/api/v2/organizations/example/dns/zones/example/records?type=A&limit=100&offset=0&sync=false' \ --header 'Authorization: Bearer <token>'Dns:read and browse_domains are required. Filters: type, name, limit (1–1000), offset, sync (true/false).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organization
required
string
zoneId
required
string
Query Parameters
Section titled “Query Parameters”type
string
name
string
limit
integer
offset
integer
sync
boolean
Responses
Section titled “Responses”Success
Missing or invalid API token
Token scope, organization or role permission denied
Zone not found in this organization
A record already exists for this name
Invalid request
DNS service unavailable
