wonderful-analyst-34883
12/16/2025, 5:40 PMtall-airline-16756
12/16/2025, 5:41 PMtall-airline-16756
12/16/2025, 5:41 PMwonderful-analyst-34883
12/16/2025, 5:41 PMtall-airline-16756
12/16/2025, 5:42 PMlk room delete <room-name>
• Server SDK / API:
1. Node.js:
import { RoomServiceClient } from 'livekit-server-sdk';
const client = new RoomServiceClient('your-livekit-url', 'api-key', 'api-secret');
await client.deleteRoom('your-room-name');
1. Python:
from livekit.api import LiveKitAPI, DeleteRoomRequest
lkapi = LiveKitAPI()
await lkapi.room.delete_room(DeleteRoomRequest(room="your-room-name"))
await lkapi.aclose()
1. Go:
client := livekit.NewRoomServiceClient("your-livekit-url", "api-key", "secret-key")
_, _ = client.DeleteRoom(context.Background(), &livekit.DeleteRoomRequest{Room: "your-room-name"})
Notes:
• Deleting a room immediately disconnects all participants, stops recordings, and frees resources.
• Make sure you use the correct LIVEKIT_API_KEY, LIVEKIT_API_SECRET, and LIVEKIT_URL.
Would you like the exact CLI command or SDK snippet tailored to your environment (room name, language, or where your API key/secret are stored)?
Sources: Managing rooms | LiveKit docs