Skip to main content
DELETE
/
v3
/
connections
/
{connectionId}
Delete connection by ID
const url = 'https://api.supermemory.ai/v3/connections/{connectionId}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "id": "<string>",
  "provider": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connectionId
string
required

Response

Connection deleted successfully

id
string
required
provider
string
required
I