API-key: ********************
curl --location --request GET 'https://mijn.host/api/v2/domains/dns-templates/1000' \
--header 'Accept;' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>'
{
"status": 200,
"status_description": "Request successful",
"data": {
"id": 1000,
"alias": "My DNS Template",
"default": false,
"records": [
{
"type": "A",
"name": "",
"value": "192.168.1.1",
"ttl": 300
},
{
"type": "CNAME",
"name": "",
"value": "www.example.nl",
"ttl": 300
},
{
"type": "CNAME",
"name": "",
"value": "mail.example.nl",
"ttl": 300
},
{
"type": "MX",
"name": "",
"value": "mail.example.nl",
"ttl": 300,
"priority": 10
},
{
"type": "TXT",
"name": "",
"value": "v=spf1 include:spf.mijn.host ~all",
"ttl": 7200
},
{
"type": "AAAA",
"name": "",
"value": "2001:41d0:302:1100:0:0:5:b92b",
"ttl": 7200
}
]
}
}