> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/removeuser.md).

# removeUser()

Removes (kicks) a user from the room. The target user's id is provided as a parameter.

```javascript
sambaFrame.removeUser('9efc7798-a1a4-44bd-9d8d-532fe0feea9d');
```

**Sample use case**: \
Have a custom participants panel in your integration and want moderators to be able to remove (kick) a misbehaving remote user by clicking a button.
