update_event
Edit an existing CalDAV calendar event by applying a revision-checked patch to its title, description, location, or times. Read the event first to copy its revision and avoid overwriting conflicts.
Instructions
Load the full input schema first. Edit one resource using {calendar_id, event_id, expected_revision, patch}. First get_event; copy its revision verbatim, including quotes. Put only changes inside patch, e.g. patch={title: 'New title'}; omit dates for a title-only edit. Omitted/null properties stay unchanged; empty description/location clears them. Timed changes need offsets matching the retained or supplied IANA timezone; UTC timestamps need timezone=UTC. All-day end is exclusive and timezone is forbidden. Set whole_series=true for recurring resources; invitations, occurrence edits and recurring timing changes with exceptions are unsupported. On CONFLICT read again and reconsider. On INVALID_INPUT inspect the schema before another attempt. After UNKNOWN_WRITE_OUTCOME read back before deciding whether any further edit is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Only properties to change, nested inside patch; omission/null leaves a property unchanged. At least one non-null property is required. | |
| event_id | Yes | Opaque event_id returned by list_events/create_event/get_event. | |
| calendar_id | Yes | Opaque calendar_id returned by list_calendars; never a name or URL. | |
| whole_series | No | Must be true to edit a recurring resource; individual occurrences and recurring timing changes with exceptions are unsupported. | |
| expected_revision | Yes | Copy the latest get_event revision verbatim, including its quotes. After CONFLICT read again and reconsider; never overwrite with a guessed revision. |