delete Collection

fun deleteCollection(collection: LinksCollection, onSuccess: () -> Unit)

Function to execute the request to delete a collection

Parameters

collection

: the collection to delete

onSuccess

: the action to execute if the request has been successful