editTeam

open fun editTeam(userId: String, team: Team, payload: TeamsHelper.TeamPayload)

Method to edit a team

Parameters

userId

: the user identifier of the team owner

team

: the team to edit

payload

: the payload with the details of the team