-
Notifications
You must be signed in to change notification settings - Fork 375
Open
Labels
Description
Usage
m365 outlook event remove [options]
Description
Removes an event from a calendar
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. |
--permanent |
Permanently remove the event, don't send it to the recycle bin. |
-f, --force |
Don't prompt for confirmation. |
Examples
Remove a calendar event from the current logged-in user
m365 outlook event remove --userId "@meId" --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=Permanently remove a calendar event from a specific user
m365 outlook event remove --userName "john.doe@contoso.com" --permanent --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=Default properties
No response
Additional Info
API:
Reactions are currently unavailable