Javascript
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>" }
Delete a specific connection by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Connection deleted successfully
Was this page helpful?