---
title: "创建租户"
method: POST
path: "/tenants"
tags: ["租户管理"]
---

# 创建租户

`POST /tenants`

创建新的租户。任意已登录用户均可调用以建立自己的新工作区，
调用方会被自动设为该租户的 Owner。跨租户超管仍可像以前一样
通过本接口创建任意租户。

## Request body

- InternalHandlerCreateTenantRequest
  - `description` string
  - `name` string, required

## Response `201`

创建的租户

- object

## Other responses

- `400` — 请求参数错误

## Changes

- **2025-12-16** `edf61e68559d` — 2 info
  - api tag `租户管理` added
  - api tag `空间管理` removed

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/tenants/post.md)

---

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