v1

latestOpenAPI 3.0.02026-08-0645062.8 KB

Update a calendar event

Update an existing calendar event based on the provided payload.

patch/events/{event_id}

Path parameters

event_idstring required
Example:event-123

Request body

subjectstring
userAttendeesstring[]
leadAttendeesstring[]
contactAttendeesstring[]
otherAttendeesstring[]
entityBaseIdstring
entityTypeIdnumber
isAllDayboolean
isOnlineMeetingboolean
onlineMeetingProviderstring
locationstring

Example request

{
  "subject": "Updated Meeting Subject",
  "body": {
    "contentType": "text/plain",
    "content": "Updated meeting content"
  },
  "start": {
    "dateTime": "2023-01-01T10:00:00Z",
    "timeZone": "UTC"
  },
  "end": {
    "dateTime": "2023-01-01T11:00:00Z",
    "timeZone": "UTC"
  },
  "userAttendees": [
    "user@example.com"
  ],
  "leadAttendees": [
    "lead@example.com"
  ],
  "contactAttendees": [
    "contact@example.com"
  ],
  "otherAttendees": [
    "other@example.com"
  ],
  "entityBaseId": "entity-123",
  "entityTypeId": 1,
  "isOnlineMeeting": true,
  "onlineMeetingProvider": "Zoom",
  "location": "Updated Conference Room"
}

Response

Calendar event updated successfully

messagestring
eventIdstring

Example response

{
  "message": "Calendar event updated successfully",
  "eventId": "event-123"
}