Get a zone's contract

GET https://{{host}}/config-dns/v2/zones/:zone/contract?gid={{gid}}

Show data about the contract to which this zone belongs.

Request Params

KeyDatatypeRequiredDescription
gidstring(Required) The currently selected group ID to manage.
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

{"contractId":"K-0N7RAK71","contractName":"Acme Inc","contractTypeName":"DIRECT_CUSTOMER","features":["PRIMARY_ZONES","ALIAS_ZONES","ZONE_APEX_MAPPING","FORCE_DELETE"],"maximumZones":5000,"permissions":["READ","WRITE","ADD","DELETE"],"zoneCount":92}