Usage
m365 spe container permission remove [options]
Description
Removes permissions from a SharePoint Embedded Container
Options
| Option |
Description |
-i, --id <id> |
ID of the permission to remove. |
--containerId [containerId] |
ID of a SharePoint Embedded Container. Specify either containerId or containerName but not both. |
-n, --containerName [containerName] |
Display name of the Container. Specify either containerId or containerName but not both. |
--containerTypeId [containerTypeId] |
The ID of the container type. Specify either containerTypeId or containerTypeName when using containerName but not both. |
--containerTypeName [containerTypeName] |
The name of the container type. Specify either containerTypeId or containerTypeName when using containerName but not both. |
-f, --force [force] |
Don't prompt for confirmation. |
Examples
Removes the specified permission from a container
m365 spe container permission remove --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --Id "cmVhZGVyX2k6MCMuZnxtZW1iZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ"
Removes the specified permission from a container and doesn't prompt for confirmation
m365 spe container permission remove --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z" --Id "cmVhZGVyX2k6MCMuZnxtZW1iZXJzaGlwfHJvcnlicjExMUBvdXRsb29rLmNvbQ" --force
Default properties
No response
Additional Info
We may use the following API:
https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-delete-permissions?view=graph-rest-1.0&tabs=http
Usage
m365 spe container permission remove [options]
Description
Removes permissions from a SharePoint Embedded Container
Options
-i, --id <id>--containerId [containerId]containerIdorcontainerNamebut not both.-n, --containerName [containerName]containerIdorcontainerNamebut not both.--containerTypeId [containerTypeId]containerTypeIdorcontainerTypeNamewhen usingcontainerNamebut not both.--containerTypeName [containerTypeName]containerTypeIdorcontainerTypeNamewhen usingcontainerNamebut not both.-f, --force [force]Examples
Removes the specified permission from a container
Removes the specified permission from a container and doesn't prompt for confirmation
Default properties
No response
Additional Info
We may use the following API:
https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-delete-permissions?view=graph-rest-1.0&tabs=http