Implemented API call to delete application and menu

@Karthikeyan-V  pass correct validation error  message