connection remove
Remove the specified connection
Usage
m365 connection remove [options]
Options
-n, --name <name>
The name of the connection to remove.
-f, --force
Don't prompt for confirmation to remove the connection.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,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
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
The value for --name
can be found by running m365 connection list.
Examples
Remove an existing connection
m365 connection remove --name '0bb7cb89-7fae-4775-a01a-c372cc167371'
Remove an existing connection without prompting for confirmation
m365 connection remove --name '0bb7cb89-7fae-4775-a01a-c372cc167371' --force
Response
The command won't return a response on success.