DeleteContact Method
Deletes a contact within a Google Contacts feed.
Syntax
int DeleteContact();
Remarks
The component will delete the contact, of a Google Contacts feed, specified by ContactEditURL.
Prior to calling DeleteContact, you must specify a ContactETag value so that an "If-Match" header is sent (note this property is set automatically when ContactIndex is set). To ensure that you do not delete a contact that has been changed, set ContactETag to the contact's ETag value. Setting ContactETag to "*", will delete the contact regardless of whether it has been updated or not.
Google usually retains placeholders for deleted contacts for 30 days after deletion; during that time, you can request the placeholders using the showdeleted query parameter. Please reference QueryContacts and AddQueryParam for more information about querying deleted contacts.