Using expel while being a co-host

I’m using Web SDK version 1.7.5. Is it possible to use the ZoomMtg.expel() method if the user in question is a co-host? It doesn’t error when I execute it, but nothing happens.

Thank you!

Hey @tmb,

Are you trying to expel the co host? Or are you trying to have the co host expel someone else?

Thanks,
Tommy

@tommy Trying to have the co-host expel someone else

Hey @tmb,

Are you passing in a userId from this list:

https://zoom.github.io/sample-app-web/ZoomMtg.html#getAttendeeslist

Thanks,
Tommy