manageLinkCollections

fun manageLinkCollections(link: RefyLink, collections: List<String>): JSONObject

Function to execute the request to manage the collections where the link is shared

Return

the result of the request as JSONObject

Parameters

link

: the link where manage its collections

collections

: the list of collections where share the link


fun manageLinkCollections(linkId: String, collections: List<String>): JSONObject

Function to execute the request to manage the collections where the link is shared

Return

the result of the request as JSONObject

Parameters

linkId

: the link identifier where manage its collections

collections

: the list of collections where share the link