deleteProject

open fun deleteProject(project: Project, onDelete: () -> Unit, onFailure: (JsonObject) -> Unit)

Method to delete a project

Parameters

project

The project to delete

onDelete

The action to execute when the project has been deleted

onFailure

The action to execute when the deletion fails