DeleteContactFromAddressBook

Deletes a contact from a given address book

This method can be used to delete a contact from a given address book. It can't be used to delete a contact from the 'All Contacts' or 'Test' address books.

SOAP action: http://apiconnector.com/v2/ApiService/DeleteContactFromAddressBook

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • AddressBook Id - required; integer
  • Contact Id - required; integer

Output parameters
None

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var addressBookId = 1;
	var contactId = 2;
	client.DeleteContactFromAddressBook(addressBookId, contactId);
}