Hi @yashaswidotiya
You can handle by Simply creating an JCR Event Listner for versionhsitory node created and delete version history node as soon as node created.
observationManager.addEventListener(this, Event.NODE_ADDED , "/content/versionhistory", true, null,
new String[]{"cq:Page"} , true...