How to use MODERATOR OpenViduRole

Hi!
I’m using free version of OpenVidu based on openvidu-call-react example in version 2.13.0.
In my scenario I want to use MODERATOR role to disconnect other publishers.
How can i implemetnt this feature?

Modify the application to execute a code in your backend app that calls to this REST API:

Regards

And how does this relate to this:

If you want to use the MODERATOR role, simpy create a user’s Connection with that role: https://docs.openvidu.io/en/2.16.0/reference-docs/REST-API/#post-openviduapisessionsltsession_idgtconnection

MODERATOR users are able to call methods that other roles can’t.