Replace record setsCopy Pageput https://{hostname}/config-dns/v2/zones/{zone}/recordsetsReplaces all record sets that currently exist with the list provided.Path ParamszonestringrequiredThe name of the zone.Query ParamsaccountSwitchKeystringFor customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.Body ParamsOne or more record sets.recordsetsarray of objectsrequiredlength ≥ 1A set of one or more resource records that share the same name, type, and TTL.recordsets* objectA set of one or more resource records that share the same name, type, and TTL.namestringrequiredThe fully qualified domain name (FQDN) of this record.rdataarray of stringsrequiredEach string encodes the rdata for a single record. If you want to have three A records, you need three strings in the array. Each string is encoded in master file format. RFC 1035 defines master file format for most record types.rdata*ADD stringttlintegerrequired≥ 0The number of seconds this record should live in a resolver's cache before being refetched. A value of 0 means the record is uncached.typestringrequiredThe record type.ADD objectResponse 204Successful operation.Updated about 1 month ago