---
title: "POST /v1/{+name}:deprovision"
method: POST
path: "/v1/{+name}:deprovision"
tags: ["projects"]
---

# POST /v1/{+name}:deprovision

`POST /v1/{+name}:deprovision`

Deprovisions a deployment group. NOTE: As a first step of this operation, Infra Manager will automatically delete any Deployments that were part of the *last successful* DeploymentGroupRevision but are *no longer* included in the *current* DeploymentGroup definition (e.g., following an `UpdateDeploymentGroup` call), along with their actuated resources.

## Path parameters

- `name` string, required

## Request body

- DeprovisionDeploymentGroupRequest — The request message for the DeprovisionDeploymentGroup method.
  - `force` boolean — Optional. If set to true, this option is propagated to the deletion of each deployment in the group. This corresponds to the 'force' field in DeleteDeploymentRequest.
  - `deletePolicy` 'DELETE_POLICY_UNSPECIFIED' | 'DELETE' | 'ABANDON' — Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/config.md) · [All operations](https://skmtc.net/google/apis/config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/config/versions/22109f23b9eb/schema)
