teams tab remove
Removes a tab from the specified channel
Usage
m365 teams tab remove [options]
Options
-t, --teamId <teamId>The ID of the team where the tab exists
-c, --channelId <channelId>The ID of the channel to remove the tab from
-i, --id <id>The ID of the tab to remove
-f, --forceDon't prompt for confirmation
-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 a tab from the specified channel. Will prompt for confirmation
m365 teams tab remove --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --id 06805b9e-77e3-4b93-ac81-525eb87513b8
Removes a tab from the specified channel without prompting for confirmation
m365 teams tab remove --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --id 06805b9e-77e3-4b93-ac81-525eb87513b8 --force
Response
The command won't return a response on success.
More information
- Delete tab from channel: https://learn.microsoft.com/graph/api/channel-delete-tabs