---
title: "重置租户 API Key"
method: POST
path: "/tenants/{id}/api-key"
tags: ["租户管理"]
---

# 重置租户 API Key

`POST /tenants/{id}/api-key`

为指定租户生成一个新的 API Key，旧 Key 立即失效

## Path parameters

- `id` integer, required

## Response `200`

新生成的 API Key

- object

## Other responses

- `400` — 请求参数错误
- `403` — 权限不足

## Changes

- **2026-05-11** `80a8b4b45cb8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/tenants/:id/api-key/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-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/d113fcd208b2/schema)
