Version 15.0.0

@esri/hub-teams

Module to interact with ArcGIS Hub Teams in Node.js and modern browsers.

npm install:

npm install @esri/hub-teams @esri/arcgis-rest-auth@^2.13.0 || 3  @esri/arcgis-rest-portal@^2.15.0 || 3  @esri/arcgis-rest-request@^2.13.0 || 3  @esri/arcgis-rest-types@^2.13.0 || 3  @esri/hub-common@^15.0.0 

Module Import:

import {
  addOrInviteUsersToTeam,
  addOrInviteUsersToTeams,
  addUsersToTeam,
  applyPrivPropValuesToTemplate,
  canEditTeam,
  canUserCreateTeam,
  canUserCreateTeamInProduct,
  createHubTeam,
  createHubTeams,
  doesGroupExist,
  getAllowedGroupAccess,
  getOrgGroupLimit,
  getTeamById,
  getTeamMembers,
  getTeamPropertiesMapForProduct,
  getTeamsAvailableInProduct,
  getTeamsForProduct,
  getTeamStatus,
  getTeamTemplate,
  getTeamTypesAvailableInProduct,
  getUniqueGroupTitle,
  getUserCreatableTeams,
  hasAllPrivileges,
  removeInvalidPrivs,
  removeTeam,
  removeTeamFromItems,
  removeUsersFromTeam,
  removeUsersFromTeams,
  searchTeamContent,
  searchTeamMembers,
  teamsToAddUsersTo,
  updateTeam,
  updateUserMembership,
} from "@esri/hub-teams";