manageLinkTeams

@PutMapping(headers = "token", path = ""/{" + LINK_IDENTIFIER_KEY + "}/" + TEAMS_KEY")
open fun manageLinkTeams(@RequestHeader(value = "token") token: String, @PathVariable(value = "user_id") userId: String, @PathVariable(value = "link_id") linkId: String, @RequestBody payload: Map<String, Any>): String

Method to manage the teams where the link is shared

Return

the response of the request as String

Parameters

userId

: the identifier of the user

token

: the token of the user

payload

: payload of the request


                             {
                                 "teams" : ["the current link teams"] -> List[String],
                             }