Delete a calendar event
calendar_delete_eventDelete a calendar event or recurring instance by UID from calendars supporting deletion. Read-only calendars reject it and return ok: False.
Instructions
Delete a calendar event by its uid via WS calendar/event/delete.
Only works for calendar platforms that declare
CalendarEntityFeature.DELETE_EVENT (e.g. local/CalDAV calendars);
read-only integrations such as Google Calendar reject it, and this
returns ok: False with HA's error instead of raising.
Use when: removing an event or a recurring instance from a calendar
that supports deletion.
Not for: creating an event — use calendar_create_event; not for
read-only calendar integrations, which will fail here regardless of
arguments.
Returns: {"entity_id", "uid", "result": ..., "ok": True} on success.
Errors: {"entity_id", "uid", "ok": False, "error": str(e)} when the
platform rejects the deletion or the WS call otherwise raises.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Event UID to delete, as returned by `calendar_list_events`. | |
| entity_id | Yes | Calendar entity ID the event belongs to, e.g. 'calendar.family'. | |
| recurrence_id | No | Narrows deletion to one instance of a recurring event. Omit to target the whole event/series. | |
| recurrence_range | No | Extends `recurrence_id` deletion to a range, e.g. 'THISANDFUTURE'. Omit for a single-instance deletion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||