---
title: "跳过对话内 MCP OAuth 授权"
method: POST
path: "/agent/mcp-oauth-resolutions/{pending_id}/cancel"
tags: ["MCP服务"]
---

# 跳过对话内 MCP OAuth 授权

`POST /agent/mcp-oauth-resolutions/{pending_id}/cancel`

## Request

- Base URL: `/api/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/agent/mcp-oauth-resolutions/{pending_id}/cancel`
- Auth: API key in header `Authorization`

用户主动跳过 OAuth 授权，解除 Agent 阻塞

## Path parameters

- `pending_id` string, required

## Response `200`

OK

- InternalHandlerSuccessResponse
  - `success` boolean

## Other responses

- `404`: Not Found

## Changes

- **2026-06-30** `6e57a624b011`: 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/agent/mcp-oauth-resolutions/:pending_id/cancel/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/b64b227d0d54?raw)
