# Using expel while being a co-host

**URL:** <https://devforum.zoom.us/t/using-expel-while-being-a-co-host/13423>\
**Category:** Web\
**Created:** [April 16, 2020, 3:23am UTC](https://devforum.zoom.us/t/using-expel-while-being-a-co-host/13423 "2020-04-16T03:23:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmb/32/6225_2.png) [@tmb](https://devforum.zoom.us/u/tmb)\
**Post date:** [April 16, 2020, 3:23am UTC](https://devforum.zoom.us/t/using-expel-while-being-a-co-host/13423/1 "2020-04-16T03:23:10Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 17, 2020, 4:48am UTC](https://devforum.zoom.us/t/using-expel-while-being-a-co-host/13423/2 "2020-04-17T04:48:02Z")

</div>

Hey @tmb,

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

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tmb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmb/32/6225_2.png) [@tmb](https://devforum.zoom.us/u/tmb)\
**Post date:** [April 17, 2020, 2:57pm UTC](https://devforum.zoom.us/t/using-expel-while-being-a-co-host/13423/3 "2020-04-17T14:57:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 20, 2020, 5:24pm UTC](https://devforum.zoom.us/t/using-expel-while-being-a-co-host/13423/4 "2020-04-20T17:24:17Z")

</div>

Hey @tmb,

Are you passing in a `userId` from this list:

[https://zoom.github.io/sample-app-web/ZoomMtg.html#getAttendeeslist](https://zoom.github.io/sample-app-web/ZoomMtg.html#getAttendeeslist)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:32pm UTC](https://devforum.zoom.us/t/using-expel-while-being-a-co-host/13423/5 "2020-08-21T20:32:06Z")

</div>

Closed on August 21, 2020, 8:32pm UTC


