Deleting a contact in 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
Contact/ DELETE — Deletes the existing contact with the given nickname.

HTTP Action — DELETE

URI — https://api.dynect.net/REST/Contact/<nickname>/

Arguments:

No Arguments.

Response:

Not Applicable.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
DeleteOneContact — Deletes the existing contact with the given nickname.

Arguments:

string nicknameRequired. The nickname of the contact to delete.

string tokenRequired. The session identifier.

Response:

Not Applicable.

Example Request — Click for More Info