Deleting one or all existing CNAME 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.

REST Syntax

Click to view all REST Resources

/REST/CNAMERecord/ DELETE — Delete one or all existing CNAME Records on the zone/node indicated.

HTTP Action — Delete

URIs:

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

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

Arguments:

No Arguments

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

DeleteOneCNAMERecord — Deletes one existing CNAME Records on the zone/node indicated.

DeleteCNAMERecords — Deletes all existing CNAME Records on the zone/node indicated.

Arguments:

DeleteOneCNAMERecord — Click for More Info

DeleteCNAMERecords — Click for More Info

Response:

Not Applicable.

Example Request(DeleteOneCNAMERecord) — Click for More Info

Example Request (DeleteCNAMERecords) — Click for More Info