mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Expose unregister API command
This commit is contained in:
parent
15ebb79160
commit
35506f5470
@ -136,6 +136,7 @@ get_commands_spec() ->
|
||||
result = {res, restuple}},
|
||||
#ejabberd_commands{name = unregister, tags = [accounts],
|
||||
desc = "Unregister a user",
|
||||
policy = admin,
|
||||
module = ?MODULE, function = unregister,
|
||||
args = [{user, binary}, {host, binary}],
|
||||
result = {res, restuple}},
|
||||
|
Loading…
Reference in New Issue
Block a user