POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart/?api-version=2023-01-01

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

Servers

Path parameters

Name Type Required Description
name String Yes

Name of the app.

slot String Yes

Name of the deployment slot. If a slot is not specified, the API will restart the production slot.

subscriptionId String Yes

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

resourceGroupName String Yes

Name of the resource group to which the resource belongs.

Query parameters

Name Type Required Description
synchronous Boolean No

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

softRestart Boolean No

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

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.