Skip to main content

unbanTeamMember

Lift a team ban, so the user may join or be added again (nothing is restored). Requires the 'manage_members' team permission (app admins bypass). Returns true if there was a ban.

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

Arguments​

unbanTeamMember.groupId ● BigInt! non-null scalar​

The team.

unbanTeamMember.userId ● BigInt! non-null scalar​

The banned user.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.