Delete connection
connections.delete_by_provider(Literal["notion", "google-drive", "onedrive", 4 more]provider, ConnectionDeleteByProviderParams**kwargs) -> ConnectionDeleteByProviderResponse
DELETE/v3/connections/{provider}
Delete connection for a specific provider and container tags
Delete connection
import os
from supermemory import Supermemory
client = Supermemory(
api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted
)
response = client.connections.delete_by_provider(
provider="notion",
container_tags=["user_123", "project_123"],
)
print(response.id){
"id": "id",
"provider": "provider"
}Returns Examples
{
"id": "id",
"provider": "provider"
}