How to remove a user from segment by clicking on a button

I used a button in my app for or removing that particular user from a segment (one signal)
With one signal block clear tag but it is not working the user remains in that segment.
I searched this topic in kodular community but not founded any solution.
Please help me