Deleting one or all existing Service location (SRV) records 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.

See RFC 2782 for more information about SRV records.

REST Syntax

Click to view all REST Resources
/REST/SRVRecord/ DELETE — Deletes one or all existing SRV record on the zone/node indicated.

HTTP Action — DELETE

URIs:

Delete one SRV record — https://api.dynect.net/REST/SRVRecord/<zone>/<fqdn>/<record_id>/

Delete all SRV records — https://api.dynect.net/REST/SRVRecord/<zone>/<fqdn>/

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
DeleteOneSRVRecord — Deletes an existing SRV records on the zone/node indicated.

DeleteSRVRecords — Deletes all existing SRV records on the zone/node indicated.

Arguments:

DeleteOneSRVRecord — Click for More Info

DeleteSRVRecords:

  • string fqdnRequired. Name of the node where the record exists.
  • string tokenRequired. Session Identifier.
  • string zoneRequired. Name of the zone where the record exists.
Response:

Not Applicable.

Example Request (DeleteOneSRVRecord) — Click for More Info

Example Request (DeleteSRVRecords) — Click for More Info