code: func (t *TeamsClient) List(ctx context.Context, orgID *identity.ID, name string, teamType primitive.TeamType) ([]envelope.Team, error) {
  	v := &url.Values{}
  
  	if orgID != nil {
  		v.Set("org_id", orgID.String())
  	}
  	if name != "" {
  		v.Set("name", name)
  	}
  	if teamType != primitive.AnyTeamType {
  		v.Set("type", string(teamType))
  	}
  
  	var teams []envelope.Team
  	err := t.client.RoundTrip(ctx, "GET", "/teams", v, nil, &teams)
  	return teams, err
  }
docs: // List retrieves all teams for an org based on the filtered values