Updated API with project deletion functionality