deleteVCard
deleteVCard
Section titled “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
Section titled “Arguments”vCardrequired, DAVVCard to deleteheadersrequest headersheadersToExcludearray of keys of the headers you want to excludefetchOptionsoptions to pass to underlying fetch function
Return Value
Section titled “Return Value”Behavior
Section titled “Behavior”use DELETE request to delete a new vcard