Skip to content

Replace all targets of group

PUT /v1/dns/name-groups/{group_name}

Replace all targets of name group. If the group does not exist, creates it.

Path Parameters

group_name

The group name.

Example: group-name_1

Body

application/json

Body Sample

{
"targets": [
{
"name": "example-name",
"zone_name": "example.com"
}
]
}

Body Description

* targets array[object]

The target list.

label object

Label for an Rdata that uniquely identifies it within its RRSet

Example: a-label-123

* name string

The DNS name, not including the zone portion.

Example: dns-name

* zone_name string

The name of the zone.

Example: example.com

Response