v1

latestSwagger 2.02026-07-1334990686.2 KB
WebApps

Restarts an app (or deployment slot, if specified).

Restarts an app (or deployment slot, if specified).

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

Path parameters

resourceGroupNamestring required

Name of the resource group to which the resource belongs.

namestring required

Name of the app.

subscriptionIdstring required

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

Query parameters

softRestartboolean

Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.

synchronousboolean

Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).

api-versionstring required

API Version

Response

Successfully restarted app.