editTeam

fun editTeam(team: Team, title: String, logoPic: String, description: String, members: List<String>): JSONObject

Function to execute the request to edit a team

Return

the result of the request as JSONObject

Parameters

team

: the team to edit

title

: title of the team

logoPic

: the logo of the team

description

: description of the team

members

: list of the members in the team


fun editTeam(teamId: String, title: String, logoPic: String, description: String, members: List<String>): JSONObject

Function to execute the request to edit a team

Return

the result of the request as JSONObject

Parameters

teamId

: the identifier of the team to edit

title

: title of the team

logoPic

: the logo of the team

description

: description of the team

members

: list of the members in the team