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 resources partially deployed.
post/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
Path parameters
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