---
title: "Combine Tenants"
method: POST
path: "/v1/tenant/combine"
tags: ["tenants"]
---

# Combine Tenants

`POST /v1/tenant/combine`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/tenant/combine`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

This endpoint changes all tenants with the old_tenant_id to the tenant with new_tenant_id.
The old and new tenant ids should be provided in the request.

## Request body

- TenantsCombineInput
  - `newTenantId` integer, required
  - `oldTenantId` integer, required

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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