edit
Method to edit an existing item
@PostMapping(headers = "token", path = "/{" + TEAM_IDENTIFIER_KEY + "}")
Method to edit a team
Return
the response of the request as String
Parameters
userId
: the identifier of the user
token
: the token of the user
teamId
: the identifier of the team to edit
payload
: payload of the request formatted by SpringBoot as TeamPayload