4,156 questions
4,369 answers
5,718 comments
First I'm not sure how you are using permissioned stream data, because this is only supported on MultiChain Enterprise, which isn't available for Raspberry Pi.
If you were using MultiChain Enterprise, you could use the purgestreamitems command.