add Teams To Collection

fun addTeamsToCollection(collection: LinksCollection, teams: List<String>, onSuccess: () -> Unit)

Function to execute the request to share a collection with teams

Parameters

collection

: the collection to share with the teams

teams

: the list of teams identifiers where share the collection

onSuccess

: the action to execute if the request has been successful