v1
latestSwagger 2.02026-08-041113661.2 MBTemplateService
List templates
get/v1beta/dns/templates
Query parameters
limitinteger
Limits the number of objects in the output.
offsetstring
Used to retrieve all objects from a certain offset up to the limit.
orderstring
Sorting type (asc/desc).
order_bystring
Field for sorting output. Possible value: name.
with_recordsboolean
Indicates if DNS records should be retrieved.
name_patternstring
Template name pattern. Wildcard (*)can be used.
Response
A successful response.
Example response
{
"code": 0,
"data": {
"results": [
{
"id": 1,
"is_spamexperts_enabled": false,
"name": "MyTemplate",
"records": [
{
"id": 67377,
"name": "ns1.domain.com",
"prio": 10,
"ttl": 86400,
"type": "MX",
"value": "abc.example.com"
}
]
}
],
"total": 20
},
"desc": ""
}