Edit

Share via


Use Power Pages admin APIs

Power Pages admin APIs are available through the Microsoft Power Platform API.

Note

These limitations apply when configuring the steps to get the authentication token while using admin APIs for Power Pages:

Call a REST API method for Power Pages admin APIs

Microsoft Power Platform APIs let users invoke REST API methods in the following format. The namespace for Power Pages APIs is powerpages.

{HTTP method} https://api.powerplatform.com/powerpages/{resource}?api-version={version}

Learn more about the request format and request components at Call a REST API method.

Power Pages operations

Operation Details
Create Website Trigger the creation of a new Power Pages website.

Note: It isn't recommended to create a site in the default environment as it is shared across all the users in the tenant, and has a risk of sharing data with unintentional users.
Delete Website Trigger the deletion of a Power Pages site from the given website ID.
Get Website by ID Get website details from Website ID.
Get Websites Get a list of all the Power Pages websites in your environment.
Restart Website Restart the Power Pages website for the given site ID.
Add Allowed IP Addresses Add allowed IP addresses on a Power Pages website.
Create WAF Rules Create web application firewall rules on a Power Pages website.
Disable WAF Disable web application firewall on a Power Pages website.
Enable WAF Enable web application firewall on a Power Pages website.
Get Security Scan Report Get deep scan report for a Power Pages website.
Get Security Scan Score Get deep scan score for a Power Pages website.
Get WAF Rules Get the web application firewall rules.
Get WAF Status Get the web application firewall status.
Set Portal Bootstrap V5 Enabled Stamp Bootstrap version five (5) status as enabled for a website.
Set Portal Data Model Version Stamp data model version for a website.
Start Deep Scan Start deep scan for a Power Pages website.
Start Quick Scan Execute quick scan for a Power Pages website.
Start Website Start a Power Pages website.
Stop Website Stop a Power Pages website.
Update Portal Security Group Update security group for site visibility for a website.
Update Site Visibility Update site visibility for a website.

See also

Websites operation using Power Platform API