share Collections With Team

@PutMapping(headers = "token", path = ""/{" + TEAM_IDENTIFIER_KEY + "}/" + COLLECTIONS_KEY" )
open fun shareCollectionsWithTeam(    @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 share the collections 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

The payload of the request


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