v1

latestSwagger 2.02026-07-13295146626.9 KB
Sites

Restarts web app

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

Path parameters

resourceGroupNamestring required

Name of resource group

namestring required

Name of web app

slotstring required

Name of web app slot. If not specified then will default to production slot.

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