Mattermost Peer-to-Peer Forum

Bulk Data Loading - User Team Membership Theme


I have a question regarding the bulk data loading. on the documentation for 5.6.2 it states that the theme can be set with a hex color code in JSON format. But the documentation contradicts itself regarding the type of data that can be for the key “theme” in the UserTeamMembership object. I was wondering is the documentation close to correct for the format of the value. should it be a string that includes JSON like


Or should it be an object?


Or does it reference a theme name?

Thanks in advance for the help.

Documentation is here:

More info, This is the example User object


Thanks @firestar for the question! The sample given in the example user object should be correct.

So the theme can be supplied in the following format

  "type": "user",
  "user": {
    "teams": [
        "name": "team-name",
        "theme": [

The names awayIndicator and others are specified in our theme documentation here with a few custom theme examples here.

Let me know if I can help clarify anything :slight_smile: