add restfullyDeleteApplication