removeMember

fun removeMember(team: Team, member: Team.RefyTeamMember): JSONObject

Function to execute the request to remove a member from the team

Return

the result of the request as JSONObject

Parameters

team

: the team to where remove the member

member

: the member to remove


fun removeMember(teamId: String, memberId: String): JSONObject

Function to execute the request to remove a member from the team

Return

the result of the request as JSONObject

Parameters

teamId

: the identifier of the team to where remove the member

memberId

: the identifier of the member to remove