reset api object, not api