Openminds Sock API

Create DNS Template

Creates a new DNS template with a name. Records can then be added to the template using the Add DNS Template Record API endpoint.

URL

/dns_templates

Method

POST

Data parameters

Required

  • user_token=[string]
  • client_token=[string]
  • name=[string]

Sample usage

curl -X POST https://sock.openminds.be/api/v1/dns_templates -d user_token=1234 -d client_token=-5678 -d name="New Template"

Sample response

{
    "dns_template_records": [],
    "id": 77,
    "name": "New Template",
    "publicly_available": false,
    "subdomains": 0
}