delete
Collection
Function to execute the request to delete a collection
Parameters
collection
: the collection to delete
on Success
: the action to execute if the request has been successful