Destory room

Hello,

I am trying to delete a room on ejabberd server

./ejabberdctl muc_online_rooms global | grep p-360027fd766f3b99cc5c820606d2ea52n
p-360027fd766f3b99cc5c820606d2ea52n@conference.v3-chat.domainstage.com

./ejabberdctl destroy_room p-360027fd766f3b99cc5c820606d2ea52n conference v3-chat.domainstage.com
Commands to start an ejabberd node:
start Start an ejabberd node in server mode
debug Attach an interactive Erlang shell to a running ejabberd node
live Start an ejabberd node in live (interactive) mode

I am not sure why destory_room is not working, I get this commands to start an ejabberd node list. Can somebody please tell me what I am doing wrong ?

Thanks,
JT

The second argument of the

The second argument of the destroy_room command must be the full service JID. See this example:

$ ejabberdctl muc_online_rooms localhost                                                                           
room1@conference.localhost                                                                                         
room2@conference.localhost

$ ejabberdctl destroy_room room2 conference.localhost localhost

$ ejabberdctl muc_online_rooms localhost
room1@conference.localhost
Syndicate content