Removing a Ruleset instance 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/DSFRuleset/ DELETE — Removes a Traffic Director (DSF) Ruleset from the Traffic Director (DSF) Service.

HTTP Action — DELETE

URIs — https://api.dynect.net/REST/DSFRuleset/<service_id>/<dsf_ruleset_id>/

Arguments:

  • string publish — Indicates if the change should be published.
    Valid values:
    Y — The Ruleset will be deleted on execution.
    N — The Ruleset will be deleted when zone changes are published.
  • string notes — A custom note field. All content in the string is added to the Zone Notes for the zones attached to this service when the zone is published. Only used when publish = Y
Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

DeleteOneDSFRuleset — Removes an existing Ruleset.

Arguments — Click for More Info

Response — Click for More Info

Example Request — Click for More Info