Update a DNS record
Authentication
AuthorizationBearer
API token, for example amcld_.... Create one in the dashboard.
Path parameters
zoneId
DNS zone identifier
currentName
Current record hostname identifying the record to update (use @ for apex)
currentType
Current record type identifying the record to update (A, AAAA, CNAME, MX, NS, SRV, TXT)
Request
This endpoint expects an object.
name
Hostname for the record. Use @ for the zone apex.
type
Record type
content
Record value (IP address, hostname, text, etc.)
ttl
Time to live in seconds (60–86400)
priority
Priority (required for MX and SRV records)
weight
Weight (required for SRV records)
port
Port (required for SRV records)
Response
Record updated
name
Record hostname
type
Record type
ttl
Time to live in seconds
content
Record value
priority
Priority (MX and SRV records only)
weight
Weight (SRV records only)
port
Port (SRV records only)
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error