Deleting one or all existing PX 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 2163 for more information about PX records.
See RFC 822 for more information about the domain name part of MCGAM.

REST Syntax

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

HTTP Action — DELETE

URIs:

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

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

Arguments: 

No Arguments.

Response: 

Not Applicable.

Dyn Logo

SOAP Syntax

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

DeletePXRecords — Delete all existing PX Records on the zone/node indicated.

Arguments: 

DeleteOnePXRecord — Click for More Info

DeletePXRecords — Click for More Info

Response: 

Not Applicable.

Example Request (DeleteOnePXRecord) — Click for More Info 

Example Request (DeletePXRecords) — Click for More Info