Change status of an owned event
set_event_statusSet status of an event owned by the authenticated user. status is active, done, undone, or cancelled. For a repeating task pass occurrenceDate as ISO 8601 date or date-time so only that day changes. A missing id and an id owned by someone else both return not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Event id owned by the authenticated user; any other id returns not found | |
| status | Yes | Event status: active, done, undone, or cancelled | |
| occurrenceDate | No | Occurrence date of a repeating event (ISO 8601 date or date-time) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Event id | |
| end | No | End in the user timezone (ISO 8601) | |
| desc | No | Description | |
| type | No | event is a timed item; task is a to-do without a duration | |
| links | No | External calendar links when sync has finished | |
| rrule | No | iCalendar RRULE string when the event repeats | |
| start | No | Start in the user timezone (ISO 8601) | |
| title | Yes | Event or task title | |
| allDay | No | True when the event is a calendar date without a time | |
| status | No | Event status: active, done, undone, or cancelled | |
| location | No | Short place name | |
| timezone | No | IANA timezone stored on the event | |
| createdAt | No | When the event was created (ISO 8601) | |
| updatedAt | No | When the event was last changed (ISO 8601) | |
| calendarId | No | Calendar that owns the event |