Skip to content

New command: outlook event remove #7104

@milanholemans

Description

@milanholemans

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 "[email protected]" --permanent --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=

Default properties

No response

Additional Info

API:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions