OverviewProductsPlatformsAPI ReferenceResources
Calendar

Delete an event

DELETEhttps://zernio.com/api/v1/calendar/events/{eventId}

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

eventIdstringRequired

Query parameters

accountIdstringRequired

The connected Google, Microsoft or IMAP account.

calendarIdstring

The calendar holding the event (an id from GET /v1/calendar/calendars). Defaults to the primary calendar.

notifyParticipantsstringDefault allOne of all | external | none

Who gets the cancellation email. Google only; external and none answer 400 on a Microsoft account.

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/calendar/events/{eventId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.calendar.deleteCalendarEvent({  path: {    eventId: 'event_abc123',  },  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "data": {    "id": "string",    "deleted": true  }}
OpenAPI specification
Was this page helpful?