Skip to main content
PUT
/
registrar
/
v1
/
domains
/
{domain_name}
/
dns
/
bulk-update
Bulk update DNS records
curl --request PUT \
  --url https://www.atom.com/api/registrar/v1/domains/{domain_name}/dns/bulk-update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "A",
  "content": "192.0.2.100",
  "subdomain": "www",
  "ttl": 7200
}
'
{
  "success": true,
  "message": "Updated 5 DNS record(s)",
  "data": {
    "updated_count": 5,
    "deleted_count": 3
  }
}

Authorizations

Authorization
string
header
required

Registrar API Bearer token. Obtain from dashboard at /dashboard/seller/api-access after requesting Registrar API access.

Path Parameters

domain_name
string
required

Domain name (e.g., 'example.com')

Body

application/json
type
string
required

DNS record type to update

Example:

"A"

content
string
required

New content value for all matching records

Example:

"192.0.2.100"

subdomain
string

Subdomain to update (use '@' for root domain, omit to update all subdomains)

Example:

"www"

ttl
integer

Optional: new TTL value for all matching records

Example:

7200

Response

DNS records updated successfully

success
boolean
Example:

true

message
string
Example:

"Updated 5 DNS record(s)"

data
object