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
Usage
spo listitem roleinheritance reset
Description
restore role inheritance of list item, file or folder
Options
-u, --webUrl <webUrl>--id <id>--listId [listId]--listTitle [listTitle]Additional Info
we may use the POST request
also when user will define list Id not Title we may just use the
getbyid()instead ofgetbytitle