REST API v1.1 - Managed DNS

Zones - Update a zone

Request

Example
PUT /api/1.1/zones/12345678.xml

<zone>
  <default-ttl type="integer">600</default-ttl>
  <notes>Random notes</notes>
  <ns1 nil="true"/>
  <ns-type>pri_sec</ns-type>
  <slave-nameservers nil="true"/>
  <tag-list>one two</tag-list>
</zone>
Notes

ns1 should be left out unless ns-type is ‘sec’. slave-nameservers should be left out unless ns-type is ‘pri’. See more details under Zones Overview.

Response

Notes

Status 200 on success.
Status 422 on validation error.