v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
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

overwriteboolean

If true, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created.

Example request

{
  "overwrite": true,
  "zone": [
    {
      "name": "www",
      "records": [
        {
          "content": "mydomain.tld."
        }
      ],
      "ttl": 14400,
      "type": "A"
    }
  ]
}

Response

Success response

messagestring

Example response

{
  "message": "Request accepted"
}