Show/Hide Toolbars

When deleting a contact record, use the ContactRepository deleteContact method. Identify the target record to delete by its unique key.

Code Snippet

//for this example, it is assumed that you already know the target contact record's unique key (where uniqueKey is a String variable)

protected ContactRepository contactRepository;

contactRepository.deleteContact(uniqueKey);