code: func (hs *HTTPServer) GetTeamPreferences(c *m.ReqContext) Response {
  	teamId := c.ParamsInt64(":teamId")
  	orgId := c.OrgId
  
  	if err := teamguardian.CanAdmin(hs.Bus, orgId, teamId, c.SignedInUser); err != nil {
  		return Error(403, "Not allowed to view team preferences.", err)
  	}
  
  	return getPreferencesFor(orgId, 0, teamId)
  }
docs: // GET /api/teams/:teamId/preferences