You need to enable JavaScript to run this app.
文档中心
AgentKit

AgentKit

复制全文
下载 pdf
MCP
DeleteMCPService - 删除MCP服务
复制全文
下载 pdf
DeleteMCPService - 删除MCP服务
删除MCP服务。​
使用说明​
如果某个MCP服务不再使用,您可以删除该服务。​
  • 测试用 MCP 服务已完成验证,不再需要保留。​
  • 服务已迁移到新的 MCP 服务实例,旧服务可以下线。​
  • 错误创建的 MCP 服务需要清理。​
注意事项​
删除MCP服务后无法恢复。删除后,依赖该服务的智能体、IDE、CLI或外部系统将无法继续调用对应工具。请先确认调用方已切换或停止使用该服务。​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:DeleteMCPService​
要执行的操作,取值:DeleteMCPService。​
​
Version string 必选 示例值:2025-10-30​
API的版本,取值:2025-10-30。​
​
MCPServiceId string 必选 示例值:m-ye7f6gd7nktv3gi6c***​
MCP服务ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
MCPServiceId string 示例值:m-ye7f6gd7nktv3gi6c***​
MCP服务ID。​
​
​
​
请求示例​
​
POST https://agentkit.cn-beijing.volcengineapi.com?Action=DeleteMCPService&Version=2025-10-30 HTTP/1.1​
Content-Type: application/json​
{​
"MCPServiceId":"m-ye7f6gd7nktv3gi6c***"​
}​
​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202106111445100102252431000052****",​
"Action": "DeleteMCPService",​
"Version": "2025-10-30",​
"Service": "agentkit",​
"Region": "cn-beijing"​
},​
"Result": {​
"MCPServiceId": " m-ye7f6gd7nktv3gi6c***"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter.MCPServiceId​
The required parameter MCPServiceId is not supplied.​
参数MCPServiceId不能为空。​
404​
InvalidResource.NotFound​
The specified resource does not exist.​
指定资源不存在。​
412​
OperationDenied.ResourceLocked​
The specified operation is denied as your resource is locked for another operation.​
资源不允许操作。​
​
​
最近更新时间:2026.09.14 19:28:44
这个页面对您有帮助吗?
有用
有用
无用
无用