Cancel calendar event
BetaChanges data
Cancels a meeting as its organizer and sends the attendees a cancellation with a note.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Microsoft Graph connection the step signs in with. |
| OrganizerRequired | The meeting's organizer, by object id or sign-in address. For anyone else Graph answers 400: “You need to be an organizer to cancel a meeting.” |
| Calendar id | Leave empty for the user's default calendar. |
| Event idRequired | The id a Create or List calendar events node answered. |
| Message to attendees | Sent with the cancellation. Leave empty to send none. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `microsoft-graph`) |
user | text |
calendarId | text |
eventId | text |
comment | text |
Output
| Field | Type |
|---|---|
cancelled | boolean |
eventEvent id | string |
Sample output, and the expression for each field
- cancelledtrue
- event"e1"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"calendarId": "",
"comment": "",
"connection": "<connection id>",
"eventId": "<event id>",
"user": "<organizer>"
},
"label": "Cancel calendar event",
"type": "graph.cancelEvent",
"version": 1
}