Skip to main content

createTeam

Create a team. Whether the caller may create one is governed by the per-app team policy (app_group_policies: admin | member | anyone). The caller becomes the owner and is granted a system 'leader' role holding every team permission. New teams default to the app's default membership policy unless overridden.

createTeam(
input: CreateTeamInput!
): Group!

Arguments

createTeam.input ● CreateTeamInput! non-null input

The app, the team name, and optional description / membership policy override.

Type

Group object

A generic group. groupType discriminates teams ('team'), channels ('channel'), and grid-access groups ('grid').