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 deleteheaders
request headers
Return Value
Behavior
use DELETE request to delete a new vcard