> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langmail.me/llms.txt
> Use this file to discover all available pages before exploring further.

# delete_calendar_event

> Delete a calendar event by uid; attendees receive iMIP cancellations.

Deletes an event. The mail server sends standard iMIP cancellations to any attendees, so the event disappears from their calendars too.

## Parameters

<ParamField body="uid" type="string" required>
  The event's iCalendar UID, from [`create_calendar_event`](/reference/mcp/create-calendar-event) or [`list_calendar_events`](/reference/mcp/list-calendar-events).
</ParamField>

<ParamField body="calendarUrl" type="string">
  A CalDAV URL from [`list_calendars`](/reference/mcp/list-calendars). Defaults to the user's default calendar — pass this if the event lives in another calendar.
</ParamField>

## Example

```json Call theme={null}
{ "uid": "9b1de2a4-6f0e-4c8b-a1d2-3e4f5a6b7c8d@langmail.me" }
```

```text Result theme={null}
Event 9b1de2a4-6f0e-4c8b-a1d2-3e4f5a6b7c8d@langmail.me deleted; Stalwart will send cancellations to any attendees.
```

## Errors

* `Event not found: <uid>` — no event with that UID in the target calendar.
* `No calendar available to delete the event from.` — the user has no calendar and none was specified.
* `Calendar not found: <url>` — the `calendarUrl` didn't resolve.
