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
The payload of the request formatted by SpringBoot as TeamPayload