Deleting the 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

REST/GSLB/ DELETE — Delete the GSLB service instance on the identified node.

HTTP Action — DELETE

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

Click to view all REST Resources
Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

DeleteOneGSLB — Delete the GSLB service instance on the identified node.

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:

  • integer task_id – The number assigned to the task to delete one GSLB instance.
  • Example Request — Click for More Info