setTeamMemberRole
Set a team member's role. Team admins administer the stacks the team owns. Requires team:write permission.
Returns
SetTeamMemberRolePayload!Arguments
Team containing the membership
Member whose role changes
New role
Possible values (2)
MEMBERDoes the team's work on the stacks it owns
ADMINAlso administers the stacks the team owns: rules, bypass, review dismissal and secrets
Exact field SDL
"""
Set a team member's role. Team admins administer the stacks the team owns. Requires team:write permission.
"""
setTeamMemberRole(
"""Team containing the membership"""
teamId: TeamID!
"""Member whose role changes"""
userId: UserID!
"""New role"""
role: TeamMemberRole!
): SetTeamMemberRolePayload! @topic(names: ["admin", "iam"])Declared on Mutation. Access is checked by the platform for each operation.