API to delete projects

Only if they are empty.