spo group remove
Removes group from specific web
Usage
m365 spo group remove [options]
Options
-u, --webUrl <webUrl>Url of the web to remove the group from.
--id [id]ID of the group to remove. Use ID or name but not both.
--name [name]Name of the group to remove. Use ID or name but not both.
-f, --forceConfirm removal of the group.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Examples
Removes group with id from the specified web.
m365 spo group remove --webUrl https://contoso.sharepoint.com/sites/mysite --id 5
Removes group with name from the specified web.
m365 spo group remove --webUrl https://contoso.sharepoint.com/sites/mysite --name "Team Site Owners"
Response
The command won't return a response on success.