deleteCollection

fun deleteCollection(collection: LinksCollection): JSONObject

Function to execute the request to delete a collection

Return

the result of the request as JSONObject

Parameters

collection

: the collection to delete


fun deleteCollection(collectionId: String): JSONObject

Function to execute the request to delete a collection

Return

the result of the request as JSONObject

Parameters

collectionId

: the identifier of the collection to delete