removeTeamFromItems
Removes a Team from N hub models. First, if passed deleteTeam, it will delete the team Then it iterates over an array of IModels and removes the given team ID from their teams array
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| teamId Required | string |
Team ID of the team we are removing |
|
| models Required | IModel[] |
Array of IModels |
|
| authentication Required | ArcGISIdentityManager |
Auth |
Returns
{Promise<IUpdateItemResponse[]>}
Promise<IUpdateItemResponse[]>
Function defined in teams/src/remove-team-from-items.ts:16