Usage
m365 spo roledefinition remove [options]
Description
Should remove roledefinition from web
Options
| Option |
Description |
-u, --webUrl <webUrl> |
URL of the site from which role should be retrieved |
-i, --id <id> |
Role definition id |
Additional Info
I was thinking that now since we added first command to list the role definitions from web we need other as well (get, add and delete) 🤔.
In this issue I would like to consider adding a delete command to remove a role definition by id.
We may use this DELETE request for this
/_api/Web/RoleDefinitions(${roleIDefinitiond})
the expected result should be deleted role
Usage
m365 spo roledefinition remove [options]
Description
Should remove roledefinition from web
Options
-u, --webUrl <webUrl>-i, --id <id>Additional Info
I was thinking that now since we added first command to list the role definitions from web we need other as well (get, add and delete) 🤔.
In this issue I would like to consider adding a delete command to remove a role definition by id.
We may use this DELETE request for this
/_api/Web/RoleDefinitions(${roleIDefinitiond})the expected result should be deleted role