deleteCalendarObject
deleteCalendarObject
Section titled “deleteCalendarObject”delete one calendar object on the target calendar
const result = await deleteCalendarObject({ calendarObject: { url: 'https://caldav.icloud.com/123456/calendars/A5639426-B73B-4F90-86AB-D70F7F603E75/test.ics', etag: '"63758758580"', }, headers: { authorization: 'Basic x0C9uFWd9Vz8OwS0DEAtkAlj', },});Arguments
Section titled “Arguments”calendarObjectrequired, DAVCalendarObject 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 calendar object