Deleting an existing HTTP Redirect service in 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/HTTPRedirect/ DELETE — Deletes an existing HTTP Redirect service from the zone/node indicated.

HTTP Action — DELETE

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

Arguments:

  • string publish – Indicates whether or not to publish the zone changes immediately.
    Valid values:
    Y – Delete the service immediately. (Default)
    N – Delete the service at the next zone publish.
Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
DeleteOneHTTPRedirect — Deletes an existing HTTP Redirect service from the zone/node indicated.
Arguments:

  • string fqdnRequired. Name of node where service exists.
  • string tokenRequired. The session identifier.
  • string zoneRequired. Name of zone where the service exists.
  • string publish – Indicates whether or not to publish the zone changes immediately.
    Valid values:
    Y – Delete the service immediately. (Default)
    N – Delete the service at the next zone publish.
Response:

Not Applicable.

Example Request — Click for More Info