Skip to content

New command: spo listitem roleinheritance reset #3238

@Adam-it

Description

@Adam-it

Usage

spo listitem roleinheritance reset

Description

restore role inheritance of list item, file or folder

Options

Option Description
-u, --webUrl <webUrl> URL of the site from which the item should be retrieved
--id <id> ID of the item to retrieve
--listId [listId] ID of the list. Specify listId or listTitle but not both
--listTitle [listTitle] Title of the list. Specify listId or listTitle but not both

Additional Info

we may use the POST request

_api/web/lists/getbytitle('${ListTileHere}')/items(${itemId})/resetroleinheritance

also when user will define list Id not Title we may just use the getbyid() instead of getbytitle

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions