DeleteApiMcpServer - 删除API MCP服务

删除单个API MCP服务。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

DELETE /apimcpserver HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

clientToken

string

保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符,且不能超过 64 个字符,建议使用 UUID。过期时间为 3 天。

123e4567-e89b-12d3-a456-426655440000

id

string

API MCP 服务的 ID。

v6ZZ7ftCzEILW***

返回参数

名称

类型

描述

示例值

object

请求结果。

requestId

string

请求 ID。

9BFC4AC1-6BE4-5405-BDEC-CA288D404812

示例

正常返回示例

JSON格式

{
  "requestId": "9BFC4AC1-6BE4-5405-BDEC-CA288D404812"
}

错误码

HTTP status code

错误码

错误信息

描述

400 Missing.Id Id is mandatory for this action. 缺少必填参数Id。
400 IdempotentParameterMismatch The request uses the same client token as a previous request but with different parameters. Client tokens should not be reused across non-identical requests. Each unique request must have a distinct client token. 请求使用了与之前请求相同的客户端令牌,但参数不同。请勿在参数不同的请求中重复使用同一令牌,每个独立请求必须使用唯一的令牌。
400 InvalidParam.ClientToken The specified client token is not valid. 该幂等参数有误,请检查。
403 OperationNotAllowed.SystemServer System type servers are not allowed to be updated or deleted. 系统级别的服务不允许更新或删除操作。
404 NotFound.ApiMcpServer Specified MCP server not found. 指定idMCP服务不存在。

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情