Deleting one or all DNAME Records 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.

See RFC 2672 for more information about the DNAME record.

REST Syntax

Click to view all REST Resources

/REST/DNAMERecord/ DELETE — Delete one or all existing DNAME Records from the zone/node indicated.

HTTP Action — DELETE

URIs:

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

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

Arguments:

No Arguments

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

DeleteOneDNAMERecord — Remove the specified DNAME Record from the zone/node indicated.

DeleteDNAMERecords — Remove all DNAME Records from the zone/node indicated.

Arguments:

DeleteOneDNAMERecord — Click for More Info

DeleteDNAMERecords — Click for More Info

Response:

Not Applicable.

Example Request (DeleteOneDNAMERecord) — Click for More Info

Example Request (DeleteDNAMERecords) — Click for More Info