Activating or deactivating a Global Server Load Balancing service 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
REST/GSLB/ PUT — Activate or Deactivate the GSLB service on the designated zone node.

HTTP Action — PUT

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

Arguments:To Activate the Service — boolean activate Required.

To Deactivate the service — boolean deactivate Required.

Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
ActivateGSLB — Activates an existing GSLB service on the indicated zone/node.

DeactivateGSLB — Deactivates an existing GSLB service on the indicated zone/node.

Arguments:

ActivateGSLB — Click for More Info

DeactivateGSLB — Click for More Info

Response — (both Activate and Deactivate) Click for More Info

Example Request (both Activate and Deactivate) — Click for More Info