Expose unregister API command

This commit is contained in:
Mickael Remond 2016-11-09 09:04:52 +01:00
parent 15ebb79160
commit 35506f5470
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3
1 changed files with 1 additions and 0 deletions

View File

@ -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}},