Skip to content

New command: 🔐 spo web roleinheritance reset #3548

@Adam-it

Description

@Adam-it

Usage

m365 spo web roleinheritance reset [options]

Description

reset inheritance of subsite.

Options

Option Description
-u, --webUrl <webUrl> URL of the site

Examples

reset role inheritance on web

m365 spo web roleinheritance reset  --webUrl "https://contoso.sharepoint.com/sites/contoso-sales"

Additional Info

I did some research and for this command we may use the POST request

/_api/web/resetroleinheritance

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions