Mattermost delete user NS7

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
mmctl user delete

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

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

@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