Removing one or all the A Records from a zone/node 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/ARecord/ DELETE — Deletes one or all existing A Records from the zone/node indicated.

HTTP Action — DELETE

URIs:

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

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

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

DeleteOneARecord — Deletes a specific A Record from the zone/node indicated.

DeleteARecords — Deletes all existing A Records from the zone/node indicated.

Arguments:

DeleteOneARecord — Click for More Info

DeleteARecords — Click for More Info

Response:

Not Applicable.

Example Request (DeleteOneARecord) — Click for More Info

Example Request (DeleteOneARecord) — Click for More Info