DNS: Zone
Update DNS records
Update DNS records for the selected domain.
Using overwrite = true will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
Use this endpoint to modify domain DNS configuration.
put/api/dns/v1/zones/{domain}
Path parameters
domainstring required
Example:mydomain.tld
Domain name
Request body
Example request
{
"overwrite": true,
"zone": [
{
"name": "www",
"records": [
{
"content": "mydomain.tld."
}
],
"ttl": 14400,
"type": "A"
}
]
}Response
Success response
Example response
{
"message": "Request accepted"
}