Deleting one or all LOC 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 1876 for more information about LOC Records.

REST Syntax

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

HTTP Action — DELETE

URIs:

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

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

Arguments: 

No Arguments.

Response: 

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
DeleteOneLOCRecord — Deletes one existing LOC Record on the zone/node indicated.

DeleteLOCRecords — Deletes all existing LOC Record on the zone/node indicated.

Arguments: 

DeleteOneLOCRecord — Click for More Info

DeleteLOCRecords — Click for More Info

Response: 

Not Applicable.

Example Request (DeleteOneLOCRecord) — Click for More Info 

Example Request (DeleteLOCRecords) — Click for More Info