---
title: "Update a calendar event"
method: PATCH
path: "/events/{event_id}"
---

# Update a calendar event

`PATCH /events/{event_id}`

Update an existing calendar event based on the provided payload.

## Path parameters

- `event_id` string, required

## Request body

- object
  - `subject` string
  - `body` object
    - `contentType` string
    - `content` string
  - `start` object
    - `dateTime` string, date-time
    - `timeZone` string
  - `end` object
    - `dateTime` string, date-time
    - `timeZone` string
  - `userAttendees` string[]
  - `leadAttendees` string[]
  - `contactAttendees` string[]
  - `otherAttendees` string[]
  - `entityBaseId` string
  - `entityTypeId` number
  - `isAllDay` boolean
  - `isOnlineMeeting` boolean
  - `onlineMeetingProvider` string
  - `location` string

## Response `200`

Calendar event updated successfully

- object
  - `message` string
  - `eventId` string

## Other responses

- `400` — Error occurred while updating the calendar event
- `404` — Calendar event not found

---

[API](https://skmtc.net/supabase/apis/dalil-oauth-resource-api.md) · [All operations](https://skmtc.net/supabase/apis/dalil-oauth-resource-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/supabase/dalil-oauth-resource-api/versions/40a7125e0355/schema)
