v1
latestOpenAPI 3.1.12026-07-17111158225.7 KBtemplates
Create a template record
Creates a new template record.
post/{account}/templates/{template}/records
Path parameters
accountinteger required
The account id
templatestring required
The template id or short name
Request body
Example request
{
"name": "",
"type": "MX",
"content": "mx.example.com",
"ttl": 600,
"priority": 10
}Response
Successfully create a template record.
Example response
{
"data": {
"id": 296,
"template_id": 268,
"name": "",
"content": "192.168.1.1",
"ttl": 3600,
"priority": null,
"type": "A",
"created_at": "2016-04-26T08:23:54Z",
"updated_at": "2016-04-26T08:23:54Z"
}
}