Skip to main content
Version: 1.1.6

deleteVCard

deleteVCard

delete one vcard on the target addressBook

const result = await deleteCalendarObject({
vCard: {
url: 'https://contacts.icloud.com/123456/carddavhome/card/test.vcf',
etag: '"63758758580"',
},
headers: {
authorization: 'Basic x0C9uFWd9Vz8OwS0DEAtkAlj',
},
});

Arguments

  • vCard required, DAVVCard to delete
  • headers request headers

Return Value

fetch api response

Behavior

use DELETE request to delete a new vcard