Usage
m365 pp chatbot remove
Description
Removes the specified chatbot
Options
| Option |
Description |
-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. |
-e, --environment <environment> |
The name of the environment for which to remove the chatbot |
--asAdmin |
Set, to remove the solution as admin for environments you are not a member of |
--confirm |
Don't prompt for confirmation |
Examples
Removes chatbot with given ID in the default environment and prompt for confirmation
m365 pp chatbot remove --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id 9be05428-a279-4aa3-ae54-8449c2cc2722
Removes chatbot with given id in the default environment as administrator and do not prompt for confirmation
m365 pp chatbot remove --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id 9be05428-a279-4aa3-ae54-8449c2cc2722 --asAdmin --confirm
Additional Info
Most likely use dynamicsApiUrl/api/data/v9.0/bots/[botid] with a DELETE method, otherwise use the row remove #4030
Usage
m365 pp chatbot remove
Description
Removes the specified chatbot
Options
-i, --id [id]idornamebut not both.-n, --name [name]idornamebut not both.-e, --environment <environment>--asAdmin--confirmExamples
Removes chatbot with given ID in the default environment and prompt for confirmation
m365 pp chatbot remove --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id 9be05428-a279-4aa3-ae54-8449c2cc2722Removes chatbot with given id in the default environment as administrator and do not prompt for confirmation
m365 pp chatbot remove --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id 9be05428-a279-4aa3-ae54-8449c2cc2722 --asAdmin --confirmAdditional Info
Most likely use
dynamicsApiUrl/api/data/v9.0/bots/[botid]with aDELETEmethod, otherwise use therow remove#4030