Skip to content

Update a calendar event

PATCH
/v1/calendar-events/{id}
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.

id
required
string
X-Organization-Id
string
Media typeapplication/json
object
title

Event title

string

Example

SOC 2 audit kickoff
description

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.000Z
endsAt

ISO 8601 end, on or after startsAt (null clears it)

object

Example

2026-12-03T16:00:00.000Z
allDay

All day event. Defaults to true.

boolean

Example

false
linkType

Kind of record the event links to (send with linkId)

string
nullable
Allowed values: control policy task audit
linkId

ID of the linked control, policy, task or audit

object

Example

ctl_abc123
attendeeIds

Member IDs to invite, from the same organization

Array<string>

Example

[
"mem_abc123"
]