calendar_delete_event
Delete an iCloud calendar event by unique ID: a single event, an entire repeating series, or one occurrence.
Instructions
Delete an event by uid: a single event, a whole repeating series, or just one date of a series.
Use when: the owner asks to remove or cancel an event. Not for moving it to another calendar (use calendar_move_event; never delete and recreate), for rescheduling (use calendar_update_event), or for declining someone else's invitation (use calendar_respond_to_event). A cancellation notice from someone else means updating or moving the event, not deleting it, unless the owner says so. Parameters:
uid is the opaque string from calendar_list_events or calendar_create_event, copied exactly; every date of a series shares one uid. An unknown uid gives "No event with uid".
calendar (name in any case, or id from calendar_list_calendars) only narrows the search; omitted, every calendar is searched, which is slower. An unknown name is refused with the list of valid names.
occurrence_start picks one date: pass the occurrence's recurrence_id if set, else its start, exactly as listed. A timed series needs a date-time, an all-day series a date. A value matching no date of the series is refused. Omitted, the entire series goes.
timezone is only read with occurrence_start, for a value without an offset; an unknown zone is refused. Behavior: permanent; this server cannot undo it. One occurrence is cancelled as an exception date and the rest of the series stays. If the event has guests, iCloud emails them a cancellation, which is refused unless the server allows calendar invites (ALLOW_CALENDAR_INVITES). The delete only lands if the event is unchanged since it was read. Not idempotent: a second call finds no event and errors. Returns: {deleted, uid, summary, calendar}; for one date also occurrence_only and occurrence_start. Errors: "No event with uid" (already gone or wrong uid), "changed on the server since it was read" (read it again), "This event does not repeat" (leave out occurrence_start), deletion blocked by settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Event uid (from calendar_list_events). | |
| calendar | No | Calendar name (calendar_list_calendars); omit for all. | |
| timezone | No | IANA timezone for times without an offset, e.g. 'Europe/Berlin'; default the owner's. | |
| occurrence_start | No | ONE occurrence of a repeating event (listed with recurring or recurrence_id) to cancel: its 'recurrence_id' if set, else its 'start'. Omit to delete the whole series. |