Update DNS Record Set
POST
/enum.api.v1.DnsService/UpdateRecordSet
Request Body required
Section titled “Request Body required ”UpdateRecordSet replaces the set’s ttl and values wholesale.
object
projectId
string
zoneId
string
name
string
type
string
ttl
integer format: int32
records
Array<object>
object
content
Rdata in presentation format (e.g. “192.0.2.1”, “10 mail.example.com.”).
string
disabled
boolean
Responses
Section titled “ Responses ”OK
object
recordSet
DnsRecordSet is a resource record set: all values sharing (name, type) with one shared TTL. It is addressed by (zone_id, name, type).
object
id
string
zoneId
string
name
Owner name (FQDN, e.g. www.example.com or example.com for apex).
string
type
Record type: A, AAAA, CNAME, MX, TXT, NS, SRV, or CAA. A CNAME at the zone apex flattens to the target’s A/AAAA addresses when served; unlike CNAME elsewhere, it may coexist with MX, TXT, and CAA at the apex (not with A or AAAA).
string
ttl
integer format: int32
records
Array<object>
object
content
Rdata in presentation format (e.g. “192.0.2.1”, “10 mail.example.com.”).
string
disabled
boolean
createdAt
string format: date-time
updatedAt
string format: date-time