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

REST Syntax

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

HTTP Action — DELETE

URIs:

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

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

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

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

DeleteSPFRecords — Delete all existing SPF Records on the zone/node indicated.

Arguments:

DeleteOneSPFRecord — Click for More Info

DeleteSPFRecords — Click for More Info

Response:

Not Applicable.

Example Request (DeleteOneSPFRecord) — Click for More Info

Example Request (DeleteSPFRecords) — Click for More Info