deleteTeam

fun deleteTeam(team: Team): JSONObject

Function to execute the request to delete a team

Return

the result of the request as JSONObject

Parameters

team

: the team to delete


fun deleteTeam(teamId: String): JSONObject

Function to execute the request to delete a team

Return

the result of the request as JSONObject

Parameters

teamId

: the identifier of the team to delete