---
title: "轮换 MCP 端点令牌"
method: POST
path: "/mcp-endpoints/{endpoint_id}/rotate-token"
tags: ["MCP端点"]
---

# 轮换 MCP 端点令牌

`POST /mcp-endpoints/{endpoint_id}/rotate-token`

生成新令牌并立即作废旧令牌，响应中的 token 只返回一次

## Path parameters

- `endpoint_id` string, required

## Response `200`

含新 token 的端点

- object

## Other responses

- `404` — 端点不存在

## Changes

- **2026-09-17** `72436bd81b37` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/mcp-endpoints/:endpoint_id/rotate-token/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/710d29c05955?raw)
