Sites

Restarts web app

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart

Request

  • Base URL
    https://management.azure.com
  • URL
    https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: user_impersonation

Path parameters

resourceGroupNamestring required

Name of resource group

namestring required

Name of web app

subscriptionIdstring required

Subscription Id

Query parameters

softRestartboolean

Soft restart applies the configuration settings and restarts the app if necessary. Hard restart always restarts and reprovisions the app

synchronousboolean

If true then the API will block until the app has been restarted

api-versionstring required

API Version

Response

OK

Object required

Changes

No recorded changes to this operation across all 4 revisions of this API.