Open appieschot opened 1 week ago
@appieschot here I have the same comments as in the webrole and weblink removal issues:
name
option which is mentioned in the descritpionwebName
but should be websiteName
Updated, I have removed the name
and updated the typo
Usage
m365 pp website webfile remove [options]
Description
Removes the specified webfile
Options
-i, --id [id]
--websiteId [websiteId]
websiteId
orwebsiteName
but not both.--websiteName [websiteName]
websiteId
orwebsiteName
but not both.-e, --environmentName <environmentName>
--asAdmin
-f, --force
Examples
Deletes 2ca3eaa5-140f-4175-8261-3272edf9f339 Power Pages website Contoso-Demo in the given environment.
Deletes a file from the selected Power Pages website in the given environment without confirmation prompt.
Additional Info
More details here: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/reference/entities/mspp_webfile. In this case the API call would be a 1DELETE
request to
${dynamicsApiUrl}/api/data/v9.2/mspp_webfiles(webfileid)`