Deactivating a secondary zone 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

Secondary/ PUT — Deactivates the secondary zone specified.

HTTP Action — PUT

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

Arguments:

boolean deactivateRequired. Indicates the secondary zone specified should be deactivated.

Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

DeactivateSecondary — Deactivates the secondary zone specified.

Arguments:

string tokenRequired. The session identifier.

string zoneRequired. Name of zone to update.

Response — Click for More Info

Example Request — Click for More Info