Delete document by ID or customId
client.documents.delete(stringid, RequestOptionsoptions?): void
DELETE/v3/documents/{id}
Delete document by ID or customId
import Supermemory from 'supermemory';
const client = new Supermemory({
apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted
});
await client.documents.delete('id');