v1

latestOpenAPI 3.1.02026-07-244861122.7 KB
records

Replace rdata

Replace the records of a given type in a pre-existing name, removing the previous records of that type.

put/v1/dns/records/{zone_name}/{name}/rrsets/{dns_type}/rdata

Path parameters

zone_namestring required

The name of the zone.

Example:example.com

The name of the zone.

namestring required

The DNS name, not including the zone portion.

Example:dns-name

The DNS name, not including the zone portion.

dns_type'A' | 'AAAA' | 'CAA' | 'CNAME' | 'MX' | 'NS' | 'SRV' | 'TXT' | 'PTR' | '_URL' | 'ALIAS' required

DNS name type supported by API

Example:A

DNS name type supported by API

Request body

valuestring required

Rdata value

labelstring

Label for an Rdata that uniquely identifies it within its RRSet Labels are case-insensitive and may contain alphanumeric characters and dashes. If a label is not set manually, it will be autogenerated, prefixed with an underscore _.

Example request

[
  {
    "value": "192.0.2.1",
    "label": "a-label-123"
  }
]

Response

resource updated