Delete connection
client.connections.deleteByProvider("notion" | "google-drive" | "onedrive" | 4 moreprovider, ConnectionDeleteByProviderParams { containerTags } body, RequestOptionsoptions?): ConnectionDeleteByProviderResponse { id, provider }
DELETE/v3/connections/{provider}
Delete connection
import Supermemory from 'supermemory';
const client = new Supermemory({
apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted
});
const response = await client.connections.deleteByProvider('notion', {
containerTags: ['user_123', 'project_123'],
});
console.log(response.id);{
"id": "id",
"provider": "provider"
}Returns Examples
{
"id": "id",
"provider": "provider"
}