destroy

suspend fun <R : Resource> R.destroy(): Boolean(source)

Destroy a resource from the server.

Return

true if the resource was destroyed successfully. false otherwise.