Removing a single zone, primary or secondary, 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

Zone/ DELETE — Removes the identified zone, primary or secondary, immediately.

HTTP Action — DELETE

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

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

DeleteOneZone — Removes the identified zone, primary or secondary, immediately.

Arguments:

string tokenRequired. The session identifier.

string zoneRequired. Name of zone to delete.

Response:

Not Applicable.

Example Request — Click for More Info

(Visited 1,021 time, 1 visit today)