Deletes all contacts from a given address book

This method can be used to delete all contacts from a given address book in your account. It can't be used to delete contacts in 'All Contacts' or 'Test' address books.

SOAP action:


Input and output parameters

The input and output parameters for this method are:

Input parameters

  • AddressBook Id - required; integer

Output parameters

  • DeleteAllContactsFromAddressBookResult
    • Id- GUID
    • Status- string ('NotAvailableInThisVersion', 'Started', 'Completed', 'Failed')


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

    var addressBookId = 1;