Skip to content

Delete Tenant

Delete a tenant from an agent's MCP Server.

DELETE /agents/{agentId}/mcpservers/{mcpServerId}/tenants/{tenantKey}


agentId string Required

The agent id

mcpServerId string Required

The ID of the MCP Server to delete a tenant from.


tenantKey string Required

The key/identifier of the tenant to delete (typically an email address). URL encode if necessary (e.g., user%40example.com).


Request
import Inconvo from "@inconvoai/node";
const inconvo = new Inconvo({
apiKey: process.env.INCONVO_API_KEY
});
await inconvo.agents.mcpServers.tenants.delete(
"mcp_abc123",
{
agentId: "agt_123",
tenant_key: "user@example.com"
}
);
Response
{
"success": true
}
curl -X DELETE "https://app.inconvo.ai/api/v1/agents/agt_123/mcpservers/mcp_abc123/tenants/user%40example.com" \
-H "Authorization: Bearer $INCONVO_API_KEY"
Response
{
"success": true
}