changeMemberRole

Function to execute the request to change the role of a member

Return

the result of the request as JSONObject

Parameters

team

: the team to where change the member role

member

: the member to change its role

role

: the role of the member


fun changeMemberRole(teamId: String, memberId: String, role: Team.RefyTeamMember.TeamRole): JSONObject

Function to execute the request to change the role of a member

Return

the result of the request as JSONObject

Parameters

teamId

: the identifier of the team to where change the member role

memberId

: the identifier of the member to change its role

role

: the role of the member