Twitch api how to user follow and unfollow

I want the users to follow each other and I get an error.
for example:
I want a user b to follow
did you understand me?