setTeamMemberRoles
Replace a member's roles with the given set (not additive — roles not listed are removed). Requires the 'manage_roles' team permission (app admins bypass).
setTeamMemberRoles(
input: SetMemberRolesInput!
): GroupMember!
Arguments
setTeamMemberRoles.input ● SetMemberRolesInput! non-null input
The team, the target user, and the full list of role ids the member should have.
Type
GroupMember object
A user's membership in a group, including the roles assigned to them.