Delete MCP server
import requests
url = "https://api.datagrid.com/v1/organization/mcp-servers/{server_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.datagrid.com/v1/organization/mcp-servers/{server_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.datagrid.com/v1/organization/mcp-servers/{server_id} \
--header 'Authorization: Bearer <token>'{
"status_code": 123,
"error": "rate_limit_exceeded",
"message": "<string>",
"retryable": true,
"statusCode": 123,
"mitigation": "<string>",
"details": {
"reason": "<string>"
}
}MCP Servers - Beta
Delete MCP server
Delete a registered MCP server.
DELETE
/
organization
/
mcp-servers
/
{server_id}
Delete MCP server
import requests
url = "https://api.datagrid.com/v1/organization/mcp-servers/{server_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.datagrid.com/v1/organization/mcp-servers/{server_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.datagrid.com/v1/organization/mcp-servers/{server_id} \
--header 'Authorization: Bearer <token>'{
"status_code": 123,
"error": "rate_limit_exceeded",
"message": "<string>",
"retryable": true,
"statusCode": 123,
"mitigation": "<string>",
"details": {
"reason": "<string>"
}
}Deletes a registered MCP server from the teamspace.
Use this when decommissioning a server or replacing it with a new registration.
If this server is attached to agents, remove/replace those mappings as part of cleanup.