toggleAudio for participantID

How to do this with external API, if not possible maybe a tip on where this is described in the code? I want to be able as a participant to mute a participants audio or stop it, just as the the click mouse operation in the UI. The participant who gets muted still broadcasts, so not quite toggleAudio, as that’s local.
thanks