Hi all
I’m currently using Mattermost on NS7 and trying to work out how to delete a user
according to the docs from Mattermost directly
https://docs.mattermost.com/manage/mmctl-command-line-tool.html#mmctl-user-delete
mmctl user delete user@example.com
But i dont think this how it is deployed on top of NS7 as this is no mmctl available
any advice on how to delete users in Mattermost on NS7
Thanks in advance
NethServer Version: 7.9.2009
Module: Mattermost 1.8.22
giacomo
(Giacomo Sanchietti)
2
I never tried, but looking to the code of user import script, you should be able to do something like:
cd /opt/mattermost
./bin/mmctl --local user delete user@example.com
3 Likes
@giacomo many thanks! this worked
Also good to note here. If you want to list your users you can do that via this command
cd /opt/mattermost
./bin/mmctl --local user list
Then you can see what the full username is to be able to delete it
1 Like