Use the createTeam method:
createTeam
const userTeam = await sdk.teams.createTeam({ organizationId: 11258, teamName: "John Smith's team" }); const teamId = userTeam.id; console.log(teamId);
Last updated 2 months ago