manageTeamCollections

@PutMapping(headers = "token", path = ""/{" + TEAM_IDENTIFIER_KEY + "}/" + COLLECTIONS_KEY")
open fun manageTeamCollections(@RequestHeader(value = "token") token: String, @PathVariable(value = "user_id") userId: String, @PathVariable(value = "team_id") teamId: String, @RequestBody payload: Map<String, Any>): String

Method to manage the collections shared with the team

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


                             {
                                 "collections" : ["the collections shared with the team"] -> List[String],
                             }