Deleting one or all existing TXT 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 1035 for more information about TXT Records.

REST Syntax

Click to view all REST Resources
/REST/TXTRecord/ DELETE — Delete one or all existing TXT Records on the zone/node indicated.

HTTP Action — DELETE

URIs:

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

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

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
DeleteOneTXTRecord — Delete one existing TXT Record on the zone/node indicated.

DeleteTXTRecords — Delete all existing TXT Records on the zone/node indicated.

Arguments:

DeleteOneTXTRecord — Click for More Info

DeleteTXTRecords — Click for More Info

Response:

Not Applicable.

Example Request (DeleteOneTXTRecord) — Click for More Info

Example Request (DeleteTXTRecords) — Click for More Info