Skip to main content
DELETE
/
connect
/
{namespace}
/
{connectionId}
JavaScript
import Smithery from '@smithery/api';

const client = new Smithery({
  apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});

const connection = await client.experimental.connect.connections.delete('connectionId', {
  namespace: 'namespace',
});

console.log(connection.success);
{
  "success": true
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

namespace
string
required
connectionId
string
required

Response

Connection deleted

success
boolean
required