Skip to content

🧑‍💻New command: spo site recyclebinitem restore #2882

@Adam-it

Description

@Adam-it

Usage

m365 spo site recyclebinitem restore

Description

Restores given items from the site recycle bin

Options

Option Description
-u, --url <url> URL of the site where the lists to retrieve are located
-i, --id <id> List of ids of items which will be restored from the site recycle bin

Additional Info

I was thinking we could use the this api endpoint in m365 CLI
_api/site/RecycleBin/RestoreByIds
to allow users to restore items from recycle bin.
let me know what do you think 🙂?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions