Skip to content

Replace rdata

PUT /v1/dns/records/{zone_name}/{name}/rrsets/{dnstype}/rdata

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

Path Parameters

zone_name

The name of the zone.

Example: example.com

name

The DNS name, not including the zone portion.

Example: dns-name

dnstype

DNS name type supported by API

Example: A

Body

application/json

Body Sample

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

Body Description

array[object]

label object

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: a-label-123

*value string

Rdata value

Example: 192.0.2.1

Response