mattermost删除频道

1. 更改配置

先按照文档说的改配置,之后才能进行删除

https://api.mattermost.com/#tag/channels/operation/UpdateChannel

把config.json中的 ServiceSettings.EnableAPIChannelDeletion 改为true

2. 登录,并使用命令删除

登录命令:

mmctl auth login http://localhost:8065

然后使用命令删除,记得需要拼接team和channel的名字

mmctl channel delete m-one:test --confirm

3. 参考内容

[Solved] Error: cannot read user credentials, maybe you need to use login first

How can I delete a channel? (old but gold)

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×