{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stack Overflow for Teams Answers User Groups API",
    "version": "v3"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "User Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Team User Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.stackoverflowteams.com/v3/teams/:team/user-groups",
            "params": [
              {
                "name": "team",
                "value": "my-team",
                "type": "path",
                "description": "The slug of the Stack Overflow for Teams workspace. If your team lives at stackoverflowteams.com/c/my-team, the slug is my-team."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (1-indexed)"
              },
              {
                "name": "pagesize",
                "value": "",
                "type": "query",
                "description": "Number of results per page (max 100)"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter to control which fields are returned"
              }
            ]
          },
          "docs": "Returns a list of user groups in the specified Stack Overflow for Teams workspace. User groups can be assigned as SMEs for tags."
        },
        {
          "info": {
            "name": "Create a Team User Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stackoverflowteams.com/v3/teams/:team/user-groups",
            "params": [
              {
                "name": "team",
                "value": "my-team",
                "type": "path",
                "description": "The slug of the Stack Overflow for Teams workspace. If your team lives at stackoverflowteams.com/c/my-team, the slug is my-team."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user group in a Stack Overflow for Teams workspace. Requires write access."
        }
      ]
    }
  ],
  "bundled": true
}