Mattermost CLI / SSH

Hier ist eine Auflistung der wichtigsten CLI commands

Zuerst in das richtige Verzeichnis wechseln:

  • cd /opt/mattermost/bin

Befehle

  • channel
    • modify
      • sudo ./platform channel modify myteam:mychannel –username <admin> –private
      • sudo ./platform channel modify myteam:mychannel –username <admin> –public
  • team
    • delete
      • sudo ./platform team delete myteam –confirm
  • user
    • invite
      • sudo ./platform user invite {email} {teams}
    • password
      • sudo ./platform user password {user} {password}
    • verify
      • sudo ./platform user verify {users}
    • create
      • sudo ./platform user create –email user@example.com –username userexample –password Password1
    • deactivate 
      • sudo ./platform user deactivate user@example.com
    • delete
      • sudo ./platform user delete user@example.com
https://docs.mattermost.com/administration/command-line-tools.html