Skip to content

New Command: Update a Purview retention event type #4342

@martinlingstuyl

Description

@martinlingstuyl

Usage

m365 purview retentioneventtype set [options]

Description

Update a retention event type

Options

Option Description
-i, --id <id> The id of the event type to update.
-d, --description [description] The new description of the event type

Examples

Update the description of a retention event type

m365 purview retentioneventtype set --id f18ce5d3-a4ca-4240-8d7a-38d59e393e5a --description 'some extra information about this event type'

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