sorry via the dashboard
# ask-ai
w
sorry via the dashboard
t
Thanks for reaching out, Alvaro. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — you mean you're using the LiveKit dashboard. What specifically are you trying to do there (create a room, manage API keys, view sessions, change settings, or something else)? Please include any error messages or the exact dashboard screen you're on.
w
i see a session that is acrtive, but i need to kill it manually
t
You're seeing an active session on the LiveKit dashboard and want to kill it manually — you can do that by deleting the room. The dashboard only shows/monitors sessions; termination must be done with the CLI or server API. Options: • CLI (recommended): 1. Run:
lk room delete <room-name>
• Server SDK / API: 1. Node.js:
Copy code
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:
Copy code
from livekit.api import LiveKitAPI, DeleteRoomRequest

lkapi = LiveKitAPI()
await lkapi.room.delete_room(DeleteRoomRequest(room="your-room-name"))
await lkapi.aclose()
1. Go:
Copy code
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