Openminds Sock API
Update DNS Record
Updates an existing DNS record.
URL
/dns_records/:id
Method
PUT
Data parameters
Required
user_token=[string]
client_token=[string]
subdomain=[string]
Optional
content=[string]
name=[string]
ttl=[string]
priority=[string]
Sample usage
curl -X PUT https://sock.openminds.be/api/v1/dns_records/399006 -d user_token=1234 -d client_token=5678 -d subdomain=openminds.be \
-d priority=10
Sample response
{
"content": "1 1111 target",
"dns_template_record_id": null,
"id": 399006,
"name": "test",
"priority": 10,
"ttl": 3600,
"type": "SRV"
}