Update a calendar event
PATCH
/v1/calendar-events/{id}
const url = 'https://api.varman.io/v1/calendar-events/example';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"title":"SOC 2 audit kickoff","description":{},"startsAt":"2026-12-03T15:00:00.000Z","endsAt":"2026-12-03T16:00:00.000Z","allDay":false,"linkType":"control","linkId":"ctl_abc123","attendeeIds":["mem_abc123"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/calendar-events/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "title": "SOC 2 audit kickoff", "description": {}, "startsAt": "2026-12-03T15:00:00.000Z", "endsAt": "2026-12-03T16:00:00.000Z", "allDay": false, "linkType": "control", "linkId": "ctl_abc123", "attendeeIds": [ "mem_abc123" ] }'Changes a custom Security calendar event. Only the fields sent are changed, send null to clear the end, notes or link. Use the eventId from the list response.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
title
Event title
string
Example
SOC 2 audit kickoffdescription
Notes shown with the event
object
startsAt
ISO 8601 start. For all day events only the date part is used.
string
Example
2026-12-03T15:00:00.000ZendsAt
ISO 8601 end, on or after startsAt (null clears it)
object
Example
2026-12-03T16:00:00.000ZallDay
All day event. Defaults to true.
boolean
Example
falselinkType
Kind of record the event links to (send with linkId)
string
linkId
ID of the linked control, policy, task or audit
object
Example
ctl_abc123attendeeIds
Member IDs to invite, from the same organization
Array<string>
Example
[ "mem_abc123"]