delete Link

abstract fun deleteLink(link: T, onSuccess: () -> Unit)

Function to execute the request to delete a link

Parameters

link

: the link to delete

onSuccess

: the action to execute if the link has been deleted