-
Notifications
You must be signed in to change notification settings - Fork 372
Open
Description
Usage
m365 pp website remove [options]
Description
Removes the specified Power Pages website from the list of active sites
Options
| Option | Description |
|---|---|
--url [url] |
The URL of the website to remove. Specify either url, name or id. |
-i, --id [id] |
The WebSiteId (GUID) of the website to remove. Specify either url, name or id. |
-n, --name [name] |
The unique name (not the display name) of the website to remove. Specify either url, name or id. |
-e, --environmentName <environmentName> |
The name of the environment. |
-f, --force |
Don't prompt for confirmation |
Examples
Deletes 2ca3eaa5-140f-4175-8261-3272edf9f339 Power Pages website in the given environment.
m365 pp website remove --id "2ca3eaa5-140f-4175-8261-3272edf9f339" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"Deletes ContosoDemo Power Pages website in the given environment without confirmation prompt.
m365 pp website remove --name "ContosoDemo" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --forceAdditional Info
Have a look at: https://learn.microsoft.com/en-us/rest/api/power-platform/powerpages/websites/delete-website
Reactions are currently unavailable