Skip to main content

removeTeamMember

Remove a member from a team. Requires the 'manage_members' team permission, except that any member may remove themselves. DESTRUCTIVE: drops the membership and its roles. Returns true if a membership was removed.

removeTeamMember(
groupId: BigInt!
userId: BigInt!
): Boolean!

Arguments

removeTeamMember.groupId ● BigInt! non-null scalar

The team to remove the user from.

removeTeamMember.userId ● BigInt! non-null scalar

The user to remove (may be the caller's own id to self-remove).

Type

Boolean scalar

The Boolean scalar type represents true or false.