Deployments
Cancels a currently running template deployment.
You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed.
post/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
Path parameters
resourceGroupNamestring required
The name of the resource group. The name is case insensitive.
deploymentNamestring required
The name of the deployment.
subscriptionIdstring required
The ID of the target subscription.
Query parameters
api-versionstring required
The API version to use for this operation.
Response
No Content