# removeUser(userId) not working

**URL:** <https://devforum.zoom.us/t/removeuser-userid-not-working/52213>\
**Category:** Web\
**Created:** [June 10, 2021, 6:02pm UTC](https://devforum.zoom.us/t/removeuser-userid-not-working/52213 "2021-06-10T18:02:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mianmuneebajaz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mianmuneebajaz/32/27475_2.png) [@mianmuneebajaz](https://devforum.zoom.us/u/mianmuneebajaz)\
**Post date:** [June 10, 2021, 6:02pm UTC](https://devforum.zoom.us/t/removeuser-userid-not-working/52213/1 "2021-06-10T18:02:39Z")

</div>

**Description**  
Hi there, I`m using instantsdk v1.0.0 in example React app given. Everything else works fine for me but removeUser method. Im calling removeUser(Legit ID) from host client which results in exception this["E"].remove() is not function. Basically what i`m trying to achieve is kick user from meeting. Currently i am implement logic to prevent user from re-entering if kicked on my side. Please do let me know if Zoom provides that aswell.

**Error**  
removeUser(id) giving exception.

**Which Web Video SDK version?**  
1.0.0

**Device (please complete the following information):**

- Device: Laptop
- OS: Windows 10
- Browser: Chrome@latest
- Browser Version [latest at this time]

**Additional context**  
So, in short my main question is how to remove/kick user when removeUser is not working, and why is it not working anyway?  
And is this right approach to kick user = client.removeUser(someid);  
Thanks

---

<div class="post-metadata">

**Author:** ![joecodingjourney](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@joecodingjourney](https://devforum.zoom.us/u/joecodingjourney)\
**Post date:** [June 11, 2021, 2:41am UTC](https://devforum.zoom.us/t/removeuser-userid-not-working/52213/2 "2021-06-11T02:41:00Z")

</div>

I also see this issue on Web Video sdk 1.0.3.

Here is what the doc is. My user has .isHost = true. But, can’t remove the other user.  
/\*\*

- Remove the participant
- 
  - Only the **host** or **manager** can remove others.

- 
- @param userId  
\*/  
function removeUser(userId: number): ExecutedResult;

@vic.yang or @tommy, do you have a solution for this?

Thanks

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 11, 2021, 3:11am UTC](https://devforum.zoom.us/t/removeuser-userid-not-working/52213/3 "2021-06-11T03:11:19Z")

</div>

Hey @joecodingjourney

Thanks for your feedback, we have found this problem and will be fixed in the next release(1.1.0).

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![joecodingjourney](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@joecodingjourney](https://devforum.zoom.us/u/joecodingjourney)\
**Post date:** [June 11, 2021, 4:02am UTC](https://devforum.zoom.us/t/removeuser-userid-not-working/52213/4 "2021-06-11T04:02:03Z")

</div>

Thanks @vic.yang . Do you know when the ETA for release 1.1.0 by any chance?

Thanks

---

<div class="post-metadata">

**Author:** ![mianmuneebajaz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mianmuneebajaz/32/27475_2.png) [@mianmuneebajaz](https://devforum.zoom.us/u/mianmuneebajaz)\
**Post date:** [June 11, 2021, 7:00am UTC](https://devforum.zoom.us/t/removeuser-userid-not-working/52213/5 "2021-06-11T07:00:02Z")

</div>

Thanks @vic.yang @joecodingjourney. An **ETA for next 1.1.0 release** would be really appreciated. Again thanks

---

<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:** [June 21, 2021, 6:21pm UTC](https://devforum.zoom.us/t/removeuser-userid-not-working/52213/6 "2021-06-21T18:21:53Z")

</div>

Hey @mianmuneebajaz , @joecodingjourney ,

[Video SDK 1.1.0](https://devforum.zoom.us/t/video-sdk-web-version-1-1-0/52838) was released last week, and is now available on NPM and Github:

> **[@zoom/videosdk](https://www.npmjs.com/package/@zoom/videosdk)**
>
> Zoom Web Video SDK

> **[zoom/videosdk-web](https://github.com/zoom/videosdk-web)**
>
> Zoom Video SDK. Contribute to zoom/videosdk-web development by creating an account on GitHub.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 22, 2021, 4:22am UTC](https://devforum.zoom.us/t/removeuser-userid-not-working/52213/7 "2021-07-22T04:22:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
