big-controller-60015
10/02/2025, 7:31 AMtall-airline-16756
10/02/2025, 7:31 AMtall-airline-16756
10/02/2025, 7:31 AMlivekit-cli tool by running the following command:
lk room participants remove <identity> --room <room_name>
Just to clarify:
• <identity> is the unique identity of the participant you'd like to remove.
• <room_name> is the name of the room where the participant is currently connected.
When you run this command, it will forcibly disconnect the participant from the room and trigger a Disconnected event. One important thing to keep in mind is that removing a participant doesn’t invalidate their access token. So, if you want to make sure they can’t rejoin, it’s best to issue short-lived tokens or avoid giving them a new token from your backend. I hope this helps! If you have any more questions, feel free to ask.
Sources: Managing participants | LiveKit Docs | README.md | packages/livekit-server-sdk/src/RoomServiceClient.ts | livekit-api/livekit/api/room_service.py