This API method is a shortcut to remove everything in the zone from this point down the tree.  It removes the identified node, any records within the node, and any nodes underneath the identified node.  Only use this method when absolutely necessary.  Do not use this method if the records are to be recreated shortly.

NOTE:  Use this method ONLY for cleaning up a zone. Regular node or record deletes should use the Delete A Records (API) method. Once all node records are removed, the node is automatically removed.

REST Syntax

Click to view all REST Resources
Node/ DELETE — Removes the indicated node, any records within the node, and any nodes underneath the node.

HTTP Action — DELETE

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

Arguments:

No Arguments.

Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
PruneZone — Removes the indicated node, any records within the node, and any nodes underneath the node.
Arguments:

  • string FQDNRequired. FQDN of node to delete.
  • string tokenRequired. The session identifier.
  • string zoneRequired. Name of zone to remove.
Response — Click for More Info

Example Request — Click for More Info