Publishing pending Zone changes using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

NOTE: Once the Zone is published, the GetZoneChangeset command will return an empty result because the pending items are published.

REST Syntax

Click to view all REST Resources
Zone/ PUT — Publish pending zone changes.

HTTP Action — PUT

URI — https://api.dynect.net/REST/Zone/<zone>/

Arguments:

  • boolean publishRequired. Causes all pending changes to become part of the zone. The serial number increments based on its serial style and the data is pushed out to the nameservers.
  • string notes — Comments regarding this zone publish. The notes will be added to the zone notes. You can access them anytime on the Zone’s Simple Editor page.
Response — Click for More Info

SOAP Syntax

Click to view all SOAP Commands
PublishZone — Causes all pending changes to become part of the zone.
Arguments:

  • string tokenRequired. The session identifier.
  • string zoneRequired. Name of zone to publish.
  • string notes — Comments regarding this zone publish. The notes will be added to the zone notes. You can access them anytime on the Zone’s Simple Editor page.
Response — Click for More Info

Example Request — Click for More Info