DeploymentStacksAtSubscription

Deletes a Deployment stack by name at the specified scope. When operation completes, status code 200 returned without content.

delete/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}

Path parameters

deploymentStackNamestring required

Name of the deployment stack.

Query parameters

unmanageAction.Resources'delete' | 'detach'

Flag to indicate delete rather than detach for unmanaged resources.

unmanageAction.ResourceGroups'delete' | 'detach'

Flag to indicate delete rather than detach for unmanaged resource groups.

unmanageAction.ManagementGroups'delete' | 'detach'

Flag to indicate delete rather than detach for unmanaged management groups.

unmanageAction.ResourcesWithoutDeleteSupport'detach' | 'fail'

Some resources do not support deletion. This flag will denote how the stack should handle those resources.

bypassStackOutOfSyncErrorboolean

Flag to bypass service errors that indicate the stack resource list is not correctly synchronized.

Parameters

../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref

Response

Resource deleted successfully.

Changes