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

Description for Create a deployment for an app, or a deployment slot.

Servers

Path parameters

Name Type Required Description
id String Yes

ID of an existing deployment.

name String Yes

Name of the app.

slot String Yes

Name of the deployment slot. If a slot is not specified, the API creates a deployment for 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.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String No

Resource Id.

name String No

Resource Name.

properties Object No

Deployment resource specific properties

properties.start_time String No

Start time.

properties.active Boolean No

True if deployment is currently active, false if completed and null if not started.

properties.deployer String No

Who performed the deployment.

properties.message String No

Details about deployment status.

properties.status Integer No

Deployment status.

properties.author_email String No

Author email.

properties.author String No

Who authored the deployment.

properties.end_time String No

End time.

properties.details String No

Details on deployment.

type String No

Resource type.

kind String No

Kind of resource.

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.