Skip to main content

pp chatbot remove

Removes the specified chatbot

Usage

m365 pp chatbot remove [options]

Options

-e, --environmentName <environmentName>

The name of the environment.

-i, --id [id]

The id of the chatbot. Specify either id or name but not both.

-n, --name [name]

The name of the chatbot. Specify either id or name but not both.

--asAdmin

Run the command as admin for environments you do not have explicitly assigned permissions to.

-f, --force

Don'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, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

Removes the specified Microsoft Power Platform chatbot owned by the currently signed-in user based on name

m365 pp chatbot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Chatbot Name"

Removes the specified Microsoft Power Platform chatbot owned by the currently signed-in user based on id without confirmation

m365 pp chatbot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 9d9a13d0-6255-ed11-bba2-000d3adf774e --force

Removes the specified Microsoft Power Platform chatbot owned by another user based on name

m365 pp chatbot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Chatbot Name" --asAdmin

Response

The command won't return a response on success.

CTRL + M