Skip to content
Get started

Delete connection by ID

DELETE/v3/connections/{connectionId}

Delete a specific connection by ID

Path ParametersExpand Collapse
connectionId: string
Query ParametersExpand Collapse
deleteDocuments: optional string

Whether to also delete documents imported by this connection. Defaults to true.

ReturnsExpand Collapse
id: string
provider: string

Delete connection by ID

curl https://api.supermemory.ai/v3/connections/$CONNECTION_ID \
    -X DELETE \
    -H "Authorization: Bearer $SUPERMEMORY_API_KEY"
{
  "id": "id",
  "provider": "provider"
}
Returns Examples
{
  "id": "id",
  "provider": "provider"
}