List record set types for name and zone

GET https://{{host}}/config-dns/v2/zones/:zone/names/:name/types

Lists all existing Record set types for this name. The list of allowed types is available at List record types. If the name doesn't exist within the zone, an empty list is returned.

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.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"types":["A","AAAA","MX"]}