Get a zone's settings

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

Retrieves the metadata for this zone. Does not include record sets.

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

{"activationState":"ACTIVE","aliasCount":1,"contractId":"C-0N7RAC71","lastActivationDate":"2021-01-03T12:00:00Z","lastModifiedBy":"tyamada","lastModifiedDate":"2021-01-03T12:00:00Z","signAndServe":true,"signAndServeAlgorithm":"RSA_SHA256","type":"PRIMARY","versionId":"ae02357c-693d-4ac4-b33d-8352d9b7c786","zone":"example.com"}