pnp/cli-microsoft365

New command: m365 spe container restore

Opened this issue · 1 comments

Usage

m365 spe container restore [options]

Description

Restores a deleted container

Options

Option Description
-i, --id <id> Container id

Examples

Restores deleted container

m365 spe container restore --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"

Default properties

No response

Additional Info

we may use the following POST request:

/deletedStorageContainers/{containerId}/restore

what's worth noticing is that it is still beta

https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-restore?view=graph-rest-beta

@pnp/cli-for-microsoft-365-maintainers any feed or could we open this up?