---
title: "Add a tenant to a deployment policy"
method: POST
path: "/v2/deploymentPolicies/{deploymentPolicyId}/tenants"
tags: ["Deployment policies"]
---

# Add a tenant to a deployment policy

`POST /v2/deploymentPolicies/{deploymentPolicyId}/tenants`

## Request

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

Add a tenant to a deployment policy.

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

### Usage scenarios
- Deploy documents in a deployment policy to a specific tenant organization.

## Path parameters

- `deploymentPolicyId` string, required

## Request body

- object
  - `tenantOrganizationId` string, required: Unique identifier of the tenant organization.

## Response `200`

The response body.

- DeploymentPoliciesAddTenantToDeploymentResponse200

---

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