Implemented API call to delete application and menu

@Karthikeyan-V  error message should be 404 error status code