4,160 questions
4,373 answers
5,719 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.