Websites - Restart Website
Restart a Power Pages website.
Restart the website for the given site id
POST https://api.powerplatform.com/powerpages/environments/{environmentId}/websites/{id}/restart?api-version=2022-03-01-preview
Name | In | Required | Type | Description |
---|---|---|---|---|
environment
|
path | True |
string |
|
id
|
path | True |
string |
|
api-version
|
query | True |
string |
The API version |
Name | Type | Description |
---|---|---|
200 OK |
Success |
|
400 Bad Request |
Bad Request |
|
401 Unauthorized |
Unauthorized |
|
404 Not Found |
Not Found |
Microsoft Entra ID OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Name | Description |
---|---|
.default | .default |
Name | Description |
---|---|
Details | |
Error | |
Error |
Name | Type | Description |
---|---|---|
code |
string |
Error code |
message |
string |
Error message |
target |
string |
Target parameter |
Name | Type | Description |
---|---|---|
code |
string |
Error code |
details |
Details[] |
|
message |
string |
Error message |
target |
string |
Target parameter |
Name | Type | Description |
---|---|---|
error |