edit
Team
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