Update a zone's settings
PUT https://{{host}}/config-dns/v2/zones/:zone?skipSignAndServeSafetyCheck={{skipSignAndServeSafetyCheck}}
Modifies a zone. You can't change the zone type
with this operation.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
skipSignAndServeSafetyCheck | string | (Required) If set to true, skips safety checks when disabling sign and serve. | |
accountSwitchKey | string | (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
{"comment"=>"Adding bodies of water", "masters"=>["192.0.2.183", "192.0.2.113"], "type"=>"SECONDARY", "zone"=>"river.com"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
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"}