Activating 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 — Activates the secondary zone specified.
HTTP Action — PUT
URI — https://api.dynect.net/REST/Secondary/<zone>/
Arguments:

boolean activateRequired. Indicates the secondary zone specified should be set to active status.

Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
ActivateSecondary — Activates 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