createHubTeam

Function

Create a single Team, using the same logic as creating multiple Teams. Also allows a set of custom props to be passed in and applied to the team.

This should be used PRIOR to creating Sites/Initiatives.

Parameters

Parameter Type Default Notes
opts Required {
hubRequestOptions:
IHubRequestOptions
props:
any
title:
string
type:
HubTeamType
}

Returns

Promise<{
groups:
IGroup[]
props:
any
}>

Function defined in teams/src/create-hub-team.ts:22