Skip to content

Add targets to a group

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

Add targets to a name group. If the name group does not exists, it’ll be created.

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