Skip to content

New Command: Delete a Purview retention event type #4340

@martinlingstuyl

Description

@martinlingstuyl

Usage

m365 purview retentioneventtype remove [options]

Description

Delete a retention event type

Options

Option Description
-i, --id <id> The Id of the retention event type.
--confirm Don't prompt for confirmation to remove the retention event type

Examples

Delete a retention event type by id

m365 purview retentioneventtype remove --id c37d695e-d581-4ae9-82a0-9364eba4291e

Additional Info

The following Graph endpoint can be used:
https://graph.microsoft.com/beta/security/triggerTypes/retentionEventTypes/{id}

More information

Because the $filter option is not available on this endpoint yet, we cannot get at the event type by title

Beta notice

The Graph endpoint that's used is in beta, so we should add a beta notice to the docs.

More information

This section should be included in the documentation

This command is part of a series of commands that have to do with event-based retention. Event-based retention is about starting a retention period when a specific event occurs, instead of the moment a document was labeled or created.

Read more on event-based retention here

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions