Usage
m365 outlook event cancel [options]
Description
Cancels a calendar event
Options
| Option |
Description |
-i, --id <id> |
ID of the event. |
--userId [userId] |
ID of the user that owns the calendar. Specify either userId or userName, but not both. |
--userName [userName] |
UPN of the user that owns the calendar. Specify either userId or userName, but not both. |
--comment [comment] |
A comment about the cancellation sent to all the attendees. |
-f, --force |
Don't prompt for confirmation. |
Examples
Cancel a calendar event from the current logged-in user without a comment
m365 outlook event cancel --userId "@meId" --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=
Cancel a calendar event from a specific user with a comment
m365 outlook event cancel --userName "[email protected]" --comment "Cancelling for this week due to all hands" --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=
Default properties
No response
Additional Info
API: https://learn.microsoft.com/en-us/graph/api/event-cancel?view=graph-rest-1.0&tabs=http
Usage
m365 outlook event cancel [options]
Description
Cancels a calendar event
Options
-i, --id <id>--userId [userId]userIdoruserName, but not both.--userName [userName]userIdoruserName, but not both.--comment [comment]-f, --forceExamples
Cancel a calendar event from the current logged-in user without a comment
m365 outlook event cancel --userId "@meId" --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=Cancel a calendar event from a specific user with a comment
Default properties
No response
Additional Info
API: https://learn.microsoft.com/en-us/graph/api/event-cancel?view=graph-rest-1.0&tabs=http