DeleteMcpServer
Deletes an MCP server.
Operation description
Request description
Deletes a custom MCP server of the current tenant by using the name of the MCP server (Name). The caller must have the dataworks:DeleteMcpServer permission. Built-in MCP servers cannot be deleted by calling this operation.
Before deleting an MCP server, remove the references to the target MCP server from agents. If the MCP server is still referenced by any agent, the deletion request fails. The deletion operation is irreversible.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:DeleteMcpServer |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the MCP server to delete. |
my-mcp-server |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
824F80BA-1778-5D8A-BAFF-668A4D9C4CC7 |
Examples
Success response
JSON format
{
"RequestId": "824F80BA-1778-5D8A-BAFF-668A4D9C4CC7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.