change Member Role
fun changeMemberRole(member: Team.RefyTeamMember, role: Team.RefyTeamMember.TeamRole, onSuccess: () -> Unit)
Function to execute the request to change the role of a member
Parameters
member
: the member to change his/her role
role
: the role to set
on Success
: the action to execute if the request has been successful