Mattermost – Set general user attributes

In the last weeks there were some questions around general account settings for newly added users in Mattermost. One example is the deactivation of push notifications for Mattermost users. While there’s a setting in the config.json to set a default theme for every user there’s none for the management of push and email notifications.


I wrote a small python script that solves this challenges thru the API. This is based on a single user but can be enhanced to get all users and set these attributes.




And can be found here:

Feel free to commit code if changes are needed.

Leave a Reply