Skip to main content

SetTeamPolicyInput

Set the per-app team creation/membership policy (app-admin only).

input SetTeamPolicyInput {
appId: BigInt!
creationPolicy: String
defaultMembershipPolicy: String
maxMembers: Int
maxGroupsPerUser: Int
}

Fields

SetTeamPolicyInput.appId ● BigInt! non-null scalar

The app (tenant) whose team policy to set.

SetTeamPolicyInput.creationPolicy ● String scalar

admin | member | anyone. Who may create teams in this app.

SetTeamPolicyInput.defaultMembershipPolicy ● String scalar

open | request | invite | admin. Default membership policy for new teams.

SetTeamPolicyInput.maxMembers ● Int scalar

Optional cap on members per team (null = unlimited).

SetTeamPolicyInput.maxGroupsPerUser ● Int scalar

Optional cap on how many teams a single user may belong to (null = unlimited).

Member Of

setTeamPolicy mutation