DELETE
/
v3
/
connections
/
{connectionId}
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.supermemory.ai/v3/connections/{connectionId}', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
{
  "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

200
application/json

Connection deleted successfully

The response is of type object.