---
title: "Archive a deployment policy"
method: DELETE
path: "/v2/deploymentPolicies/{deploymentPolicyId}"
tags: ["Deployment policies"]
---

# Archive a deployment policy

`DELETE /v2/deploymentPolicies/{deploymentPolicyId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/deploymentPolicies/{deploymentPolicyId}`
- Auth: HTTP bearer

Archive a deployment policy.

### Usage notes
- Retrieve the `deploymentPolicyId` from the [/v2/deploymentPolicies](https://help.sigmacomputing.com/reference/list-deployments) endpoint.

## Path parameters

- `deploymentPolicyId` string, required

## Response `200`

The response body.

- DeploymentPoliciesArchiveDeploymentResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
