## Delete connection by ID `connections.delete_by_id(strconnection_id, ConnectionDeleteByIDParams**kwargs) -> ConnectionDeleteByIDResponse` **delete** `/v3/connections/{connectionId}` Delete a specific connection by ID ### Parameters - `connection_id: str` - `delete_documents: Optional[str]` Whether to also delete documents imported by this connection. Defaults to true. ### Returns - `class ConnectionDeleteByIDResponse: …` - `id: str` - `provider: str` ### Example ```python 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) ``` #### Response ```json { "id": "id", "provider": "provider" } ```