Create record sets

Creates multiple new record sets on this Zone. If any record set fails to create, for example, because a record set with that name and type already exists, the entire operation fails.

Path Params
string
required

The name of the zone.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
recordsets
array of objects
required
length ≥ 1

A set of one or more resource records that share the same name, type, and TTL.

recordsets*
string
required

The fully qualified domain name (FQDN) of this record.

rdata
array of strings
required

Each string encodes the rdata for a single record. If you want to have three A records, you need three strings in the array. Each string is encoded in master file format. RFC 1035 defines master file format for most record types.

rdata*
integer
required

The number of seconds that this record should live in a resolver's cache before being refetched.

string
required

The record type.

Response
204

Successful operation.

Language
URL
Response
Click Try It! to start a request and see the response here!