{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mattermost REST Channels Teams API",
    "version": "4"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Teams",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your-mattermost-server}/api/v4/teams",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List teams"
        },
        {
          "info": {
            "name": "Create a team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-mattermost-server}/api/v4/teams",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a team"
        },
        {
          "info": {
            "name": "Get a team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your-mattermost-server}/api/v4/teams/:team_id",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a team"
        },
        {
          "info": {
            "name": "Update a team",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{your-mattermost-server}/api/v4/teams/:team_id",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a team"
        },
        {
          "info": {
            "name": "Soft delete a team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your-mattermost-server}/api/v4/teams/:team_id",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Soft delete a team"
        },
        {
          "info": {
            "name": "Patch a team",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{your-mattermost-server}/api/v4/teams/:team_id/patch",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Patch a team"
        },
        {
          "info": {
            "name": "Search teams",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-mattermost-server}/api/v4/teams/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Search teams"
        },
        {
          "info": {
            "name": "List team members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your-mattermost-server}/api/v4/teams/:team_id/members",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List team members"
        },
        {
          "info": {
            "name": "Add a user to a team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-mattermost-server}/api/v4/teams/:team_id/members",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a user to a team"
        },
        {
          "info": {
            "name": "Remove a user from a team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your-mattermost-server}/api/v4/teams/:team_id/members/:user_id",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a user from a team"
        }
      ]
    }
  ],
  "bundled": true
}