hundreds-waiter-12134
07/14/2025, 2:55 PMtall-airline-16756
07/14/2025, 2:55 PMtall-airline-16756
07/14/2025, 2:55 PMDeleteRoom
endpoint. Here's how to do it with JSON:
POST <https://your-livekit-host/twirp/livekit.RoomService/DeleteRoom>
Content-Type: application/json
Authorization: Bearer YOUR_JWT_TOKEN
{
"room": "your-room-name"
}
• Authorization: You'll need a JWT token with roomCreate
permission.
• On success: You receive an empty JSON object `{}`; all participants are disconnected, and the room is removed from the server.
If you prefer, you may use protobuf instead of JSON by changing the Content-Type
header and request body format. The endpoint follows the Twirp protocol, so be sure to use the exact path as shown above.
Replace your-livekit-host
, YOUR_JWT_TOKEN
, and your-room-name
with your actual values.
Let me know if you need help with JWT token creation or have further questions about permissions.
Sources: livekit/livekit_room.pb.go | pkg/service/roomservice.go | Managing rooms | LiveKit Docs | Inside a session | LiveKit Docs