---
title: "Delete a calendar event (v2)"
method: DELETE
path: "/v2/agenda/calendar/events/{eventId}"
tags: ["agenda"]
---

# Delete a calendar event (v2)

`DELETE /v2/agenda/calendar/events/{eventId}`

## Request

- Base URL: `https://api.prod.getdex.com`
- URL: `https://api.prod.getdex.com/v2/agenda/calendar/events/{eventId}`
- Auth: HTTP bearer

Delete an event from the connected calendar by its provider event ID. Deleting an event you organize cancels it for all attendees. Returns `{ data: { affected, ids } }`. `Idempotency-Key` is optional.

## Path parameters

- `eventId` string, required

## Query parameters

- `account_email` string
- `account_provider` 'GOOGLE' | 'OFFICE365'

## Response `200`

Successful response

- object
  - `data` object, required
    - `affected` integer, required
    - `ids` string[]
    - `failed` object[]
      - `id` string, required
      - `error` object, required
        - `code` string, required
        - `message` string, required

## Other responses

- `400`: Request body failed validation.
- `401`: Missing or invalid API key.
- `403`: Valid key, insufficient permission.
- `404`: Resource does not exist.
- `409`: Request conflicts with the current state of the resource.
- `429`: Rate limit exceeded.
- `500`: Unexpected server error.

## Changes

- **2026-08-27** `a2f71a243839`: 1 info
  - api operation id `deleteCalendarEventV2` was added
- **2026-07-31** `f679a603336e`: 1 info
  - added the new optional `query` request parameter `account_provider`

[Operation history](https://skmtc.dev/getdex/apis/dex-public-api/changes/v2/agenda/calendar/events/:eventId/delete.md)

---

[API](https://skmtc.dev/getdex/apis/dex-public-api.md) · [All operations](https://skmtc.dev/getdex/apis/dex-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getdex/apis/dex-public-api/revisions/657247ddcf7c?raw)
