Delete Feed

User Intent

"How do I delete a feed? Show me feed cleanup."

Operation

SDK Method: deleteFeed() Use Case: Remove feed and stop syncing


Code Example (TypeScript)

import { Graphlit } from 'graphlit-client';

const graphlit = new Graphlit();

// Delete feed
await graphlit.deleteFeed('feed-id');

console.log('Feed deleted');

// Note: Content from feed is NOT automatically deleted
// Delete content separately if needed
await graphlit.deleteAllContents({
  filter: {
    feeds: [{ id: 'feed-id' }],
  },
});

console.log('Feed content deleted');

Important

Feed deletion stops syncing but doesn't delete content Delete content separately if needed Cannot undo deletion


Last updated

Was this helpful?