5

I want to delete getstream feed (Single complete stream like TIMELINE:200) by using nodejs client

const timeline = client.feed('TIMELINE', '200');
timeline.delete(); // this line throws error

TypeError: timeline_200.feed.delete is not a function

1 Answers1

-1

We don't currently have an API endpoint or SDK method to delete a feed.

Generally it's not an issue - hypothetically, let's say a user (who has some feeds) deletes/deactivates their account from your app. Whenever that user returns to your app, they won't be able to log in, but you also won't be making the requests to retrieve their feed server-side. That feed (and the associated activities) still exist somewhere, but you just won't access them from your application.

Hopefully this helps!

Ken Hoff
  • 238
  • 1
  • 5
  • 4
    I agree, we will block the user access for this particular case. But actually it costs us to save unique records on your servers. If user is no more with us, we don't want to keep his stream. –  Dec 09 '17 at 18:43
  • 4
    IMHO, If we can create - we should be able to destroy. Otherwise it could cause unpredictable consequences like breaking laws of personal data and so on. – Alexander Gorg May 03 '19 at 09:22
  • But at the same time, if we can't remove a feed which is following 10 feeds where users are posting, it costs us updates... Thing is it shouldn't as we don't care about updating this feed since the user wanted all of its data to be removed... – Emixam23 Jun 25 '20 at 08:49
  • I'm in the same situation. When a user is deleted we want to remove their getstream feed. I am right now looking at 3+ year old code in Laravel and I can see this use to work but clearly no in the latest versions. I'm using the GetStream laravel plugin and I clearly see inthe code FeedManager::getFeed('','')->delete(); – user391986 May 21 '21 at 03:19
  • Is this still the case? – Gajus Jul 14 '21 at 21:26