Deleting unpublished 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.

REST Syntax

Click to view all REST Resources

ZoneChanges/ DELETE — Deletes changes to the specified zone that have been created during the current session, but not yet published to the zone.

HTTP Action — DELETE

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

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

DeleteZoneChangeSet — Deletes changes to the specified zone that have been created during the current session, but not yet published to the zone.

Arguments:

  • string tokenRequired. The session identifier.
  • string zoneRequired. Name of the zone where unpublished changes will be deleted.
Response:

Not Applicable.

Example Request — Click for More Info