Implemented deleteApplication api call