Removing a Traffic Director (DSF) 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/DSF/ DELETE — Deletes the specified Traffic Director (DSF) service.

HTTP Action — DELETE

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

Arguments:

  • 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:

    Not Applicable.

    Dyn Logo

    SOAP Syntax

    Click to view all SOAP Commands

    DeleteOneDSF — Removes an existing Traffic Director (DSF) service instance.

    Arguments:

    • string service_idRequired. ID of the Traffic Director (DSF) Service
    • 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
    • string tokenRequired. The session identifier.
    Response:

    Not Applicable.

    Example Request — Click for More Info