Delete connection by ID
connections.delete_by_id(strconnection_id, ConnectionDeleteByIDParams**kwargs) -> ConnectionDeleteByIDResponse
DELETE/v3/connections/{connectionId}
Delete a specific connection by ID
Delete connection by ID
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_id(
connection_id="connectionId",
)
print(response.id){
"id": "id",
"provider": "provider"
}Returns Examples
{
"id": "id",
"provider": "provider"
}