How to use api or other to manage ban/unban

As long as it has the correct scopes needed to perform the relevant operations yes.

You’ll need a key/token with at least these scopes

  • channel:moderate - to send ban/timeout
  • channel:read:redemptions - to read the pubsub
1 Like