remove event API