---
title: "Remove a tenant from a deployment policy"
method: DELETE
path: "/v2/deploymentPolicies/{deploymentPolicyId}/tenants/{tenantOrganizationId}"
tags: ["Deployment policies"]
---

# Remove a tenant from a deployment policy

`DELETE /v2/deploymentPolicies/{deploymentPolicyId}/tenants/{tenantOrganizationId}`

## Request

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

Remove a tenant from a deployment policy.

### Usage notes
- Retrieve the `deploymentPolicyId` from the [/v2/deploymentPolicies](https://help.sigmacomputing.com/reference/list-deployments) endpoint.
- Retrieve the `tenantOrganizationId` from the [/v2/tenants](https://help.sigmacomputing.com/reference/list-tenants) endpoint or from the [/v2/deploymentPolicies/{deploymentPolicyId}/tenants](https://help.sigmacomputing.com/reference/list-tenants-for-deployment) endpoint.

### Usage scenarios
- Remove documents in a deployment policy from a tenant organization.
- Clean up tenant assignments when a tenant is no longer needed.

## Path parameters

- `deploymentPolicyId` string, required
- `tenantOrganizationId` string, required

## Response `200`

The response body.

- DeploymentPoliciesRemoveTenantFromDeploymentResponse200

---

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