Logo
Akamai APIs API Documentation

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.

 

Body PARAM

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](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



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" }



Curl
curl -X PUT 'https://undefined/config-dns/v2/zones/:zone?skipSignAndServeSafetyCheck=?skipSignAndServeSafetyCheck=&accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"comment":"Adding bodies of water","masters":["192.0.2.183","192.0.2.113"],"type":"SECONDARY","zone":"river.com"}'

ENDPOINTS