pp website remove
Removes the specified Power Pages website from the list of active sites.
Usage
m365 pp website remove [options]
Options
-u, --url [url]The URL of the website to remove. Specify either
url,nameorid.-n, --name [name]The name of the website to remove. Specify either
url,nameorid.-i, --id [id]The WebSite Id (GUID) of the website to remove. Specify either
url,nameorid.-e, --environmentName <environmentName>The name of the environment from which to remove the Power Pages website.
-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.
Permissions
- Delegated
| Resource | Permissions |
|---|---|
| Power Platform API | PowerPages.Websites.Write |
Examples
Remove Power Pages website by name.
m365 pp website remove --name Demo --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
Remove Power Pages website by name without confirmation.
m365 pp website remove --name Demo --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
Remove Power Pages website by id.
m365 pp website remove --id 4916bb2c-91e1-4716-91d5-b6171928fac9 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
Remove Power Pages website by id without confirmation.
m365 pp website remove --id 4916bb2c-91e1-4716-91d5-b6171928fac9 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
Remove Power Pages website by url.
m365 pp website remove --url https://site-0uaq9.powerappsportals.com --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
Remove Power Pages website by url without confirmation.
m365 pp website remove --url https://site-0uaq9.powerappsportals.com --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
Response
The command won't return a response on success.