---
title: "Delete a source swap policy"
method: DELETE
path: "/v2/sourceSwapPolicies/{policyId}"
tags: ["Source swap policies"]
---

# Delete a source swap policy

`DELETE /v2/sourceSwapPolicies/{policyId}`

## Request

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

Delete a source swap policy by policy ID.

  **Beta**: Deleting a **Connection** source swap policy is in private beta and must be enabled for your organization. This documentation is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer.

  ### Usage notes
  - Retrieve the **policyId** by calling the [/v2/sourceSwapPolicies](https://help.sigmacomputing.com/reference/list-source-swap-policies) endpoint.

## Path parameters

- `policyId` string, required

## Response `200`

The response body.

- SourceSwapPoliciesDeleteSourceSwapPolicyResponse200

---

[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)
