Activating or Deactivating the Active Failover service in the API requires specific syntax depending on whether you are using using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources

/REST/Failover/ PUT — Activates or Deactivates an existing Active Failover service at the zone/node indicated.

HTTP Action — PUT

URIs — https://api.dynect.net/REST/Failover/<zone>/<fqdn>/

Arguments:

To Activate a Service:

boolean activateRequired.

To Deactivate a Service:

boolean deactivateRequired.

Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

ActivateFailover — Activates an existing Active Failover service at the zone/node indicated.

DeactivateFailover — Deactivates an existing Active Failover service at the zone/node indicated.

Arguments:

Both the Activate and Deactivate commands use these arguments:

string fqdnRequired. Name of the node where the service exists.

string tokenRequired. The session identifier.

string zoneRequired. Name of the zone where the service exists.

Response — Click for More Info

Example Request (ActivateFailover) — Click for More Info

Example Request (DeactivateFailover) — Click for More Info