Websites - Get Websites
List Power Pages websites.
Get a list of all the websites in your environment
GET https://api.powerplatform.com/powerpages/environments/{environmentId}/websites?api-version=2022-03-01-preview
GET https://api.powerplatform.com/powerpages/environments/{environmentId}/websites?skip={skip}&api-version=2022-03-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
environment
|
path | True |
string |
|
api-version
|
query | True |
string |
The API version |
skip
|
query |
string |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success |
|
400 Bad Request |
Bad Request |
|
401 Unauthorized |
Unauthorized |
Security
oauth2
Microsoft Entra ID OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Scopes
Name | Description |
---|---|
.default | .default |
Definitions
Name | Description |
---|---|
Details | |
Error | |
Error |
|
OData |
|
Website |
Details
Name | Type | Description |
---|---|---|
code |
string |
Error code |
message |
string |
Error message |
target |
string |
Target parameter |
Error
Name | Type | Description |
---|---|---|
code |
string |
Error code |
details |
Details[] |
|
message |
string |
Error message |
target |
string |
Target parameter |
ErrorMessage
Name | Type | Description |
---|---|---|
error |
ODataListWebsitesDto
Name | Type | Description |
---|---|---|
@odata.metadata |
string |
|
@odata.nextLink |
string |
|
value |
WebsiteDto
Name | Type | Description |
---|---|---|
applicationUserAadAppId |
string |
Azure Active Directory (AAD) object unique identifier (ID) |
createdOn |
string |
Website creation time in the ISO 8601 UTC format |
customHostNames |
string[] |
Custom hostnames added for the website |
dataverseInstanceUrl |
string |
Organization URL of the website |
dataverseOrganizationId |
string |
Organization unique identifier (ID) of the website |
environmentId |
string |
Environment unique identifier (ID) of the website |
environmentName |
string |
Environment name of the website |
id |
string |
Website unique identifier (ID) |
isCustomErrorEnabled |
boolean |
Custom error enablement for Website |
isEarlyUpgradeEnabled |
boolean |
Website eligibility for early upgrade |
name |
string |
Website name |
ownerId |
string |
User unique identifier (ID) of the website owner |
packageInstallStatus |
enum:
|
Package installation status of the website |
packageVersion |
string |
Package version of the website |
selectedBaseLanguage |
integer |
Language unique identifier (ID) of the website - https://go.microsoft.com/fwlink/?linkid=2208135 |
siteVisibility |
enum:
|
Website visibility status |
status |
enum:
|
Website status |
subdomain |
string |
Subdomain of website |
suspendedWebsiteDeletingInDays |
integer |
Time (in days) to website deletion, if suspended |
templateName |
enum:
|
Website template name |
tenantId |
string |
Tenant unique identifier (ID) of the website |
trialExpiringInDays |
integer |
Time (in days) to expiration of the website |
type |
enum:
|
Application type of the website |
websiteRecordId |
string |
Dataverse record unique identifier (ID) of the website |
websiteUrl |
string |
Website URL |