lk cli commands in selfhosted livekit vm to list a...
# ask-ai
s
lk cli commands in selfhosted livekit vm to list and delete rules
t
Thanks for reaching out, Youssef. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’ll help with the CLI commands for listing and deleting dispatch rules on a self‑hosted LiveKit VM. • To list dispatch rules:
Copy code
lk dispatch list
• To delete a rule by room name:
Copy code
lk dispatch delete --room my-room
(or
lk dispatch rm --room my-room
) Notes: • The CLI must be pointed at your self‑hosted LiveKit server and authenticated (e.g.,
LIVEKIT_URL
,
LIVEKIT_API_KEY
,
LIVEKIT_API_SECRET
environment variables). • Deleting a dispatch rule stops automatic agent assignment for rooms that matched that rule. Do you want the exact command to delete by rule ID instead of room name, or help setting up the CLI authentication? Sources: Agent dispatch | LiveKit Documentation | Server-side | livekit/livekit_composite | DeepWiki, with interactive elements
s
lk command not found
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
s
send me the commands for listing dispatch rules, inbound trunk, and outbound trunk,