Create record sets

POST https://{{host}}/config-dns/v2/zones/:zone/recordsets

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.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) 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.

Request Body

{"recordsets"=>[{"name"=>"new.example.com", "rdata"=>["www.example.com"], "ttl"=>300, "type"=>"CNAME"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring