Issue #22301:implement release number in deleteTO function