Delete
curl --request DELETE \
--url https://api.klavis.ai/mcp-server/instance/{instanceId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.klavis.ai/mcp-server/instance/{instanceId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.klavis.ai/mcp-server/instance/{instanceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.klavis.ai/mcp-server/instance/{instanceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}MCP Server Instance
Delete
Completely removes a server connection instance using its unique ID, deleting all associated data from the system.
DELETE
/
mcp-server
/
instance
/
{instanceId}
Delete
curl --request DELETE \
--url https://api.klavis.ai/mcp-server/instance/{instanceId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.klavis.ai/mcp-server/instance/{instanceId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.klavis.ai/mcp-server/instance/{instanceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.klavis.ai/mcp-server/instance/{instanceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}