can i request a from the api or the sdk to force e...
# ask-ai
s
can i request a from the api or the sdk to force end room remote
t
Thanks for reaching out, Mostafa. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Yes — you can remotely force end a room using the Server SDK or API by calling DeleteRoom (e.g.,
roomServiceClient.deleteRoom(roomName)
in Node, or
api_client.room.delete_room(api.DeleteRoomRequest(room=room_name))
in Python). When you call DeleteRoom the room is ended and all participants are disconnected; a
disconnected
room event is emitted. Do you want the exact code snippet for a specific server language (Node, Python, Go, Ruby, or Kotlin) and your room naming format? Sources: Job lifecycle | LiveKit docs | Server-side | livekit/livekit_composite | DeepWiki