Skip to content

Set metadata for an RRSet

POST /v1/dns/records/{zone_name}/{name}/rrsets/{dnstype}/metadata

Set metadata associated to an RRSet. RRSet metadata is stored until the rrset gets deleted. New keys are added, existing keys are updated. To remove a key, set its value to an empty string.

See the Expression schema documentation for information about metadata values.

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

{
"metadata": {
"public property": "public value"
}
}

Body Description

metadata object

A collection of string key/value pairs that provide additional information or classification for an object.

Response