# event.deleted

Source: https://developer.nylas.com/docs/reference/notifications/events/event-deleted/

Sent when an event is deleted from a user's calendar.

## data.object fields

- `grant_id` (string) - Unique identifier for the grant that owned this event.
- `calendar_id` (string, nullable) **(required)** - Identifier for the calendar this event belonged to. May be `null` in rare edge cases.
- `id` (string) **(required)** - Unique identifier for the deleted event.
- `master_event_id` (string) - If this was an occurrence of a recurring event, the ID of the master event. Absent for non-recurring events.
- `object` (string) **(required)** (event) - Object type identifier.
- `metadata` (object) - Custom key-value metadata attached to the event. May be omitted if not set.

## Example payload

```json
{
  "specversion": "1.0",
  "type": "event.deleted",
  "source": "/google/events/incremental",
  "id": "<WEBHOOK_ID>",
  "data": {
    "application_id": "<NYLAS_APPLICATION_ID>",
    "object": {
      "grant_id": "<NYLAS_GRANT_ID>",
      "calendar_id": "CALENDAR_ID",
      "id": "<EVENT_ID>",
      "master_event_id": "<MASTER_EVENT_ID>",
      "object": "event"
    }
  },
  "webhook_delivery_attempt": 1
}
```
