Openminds Sock API
Update DNS Template
Updates an existing DNS template's name. To update the template's records, use the Create/Update/Destroy DNS Template Record endpoints.
URL
/dns_records/:id
Method
PUT
Data parameters
Required
user_token=[string]
client_token=[string]
name=[string]
Sample usage
curl -X PUT https://sock.openminds.be/api/v1/dns_records/77 -d user_token=1234 -d client_token=5678 -d name="Updated Name"
Sample response
{
"dns_template_records": [],
"id": 77,
"name": "Updated Template",
"publicly_available": false,
"subdomains": 0
}