Implemented API call to delete application and menu

@Karthikeyan-V correct validation error message