How to disable ZChange event

Is there a way to disable ZChange events on the socket api. I have written a mobile web page to monitor and control a CNC machine. I can see how ZChange events are very useful in 3d printers but for CNC machines the z is always changing. This causes a continuous stream of ZChange events. I am simply ignoring them at the moment but it just seems like it would be better if I could disable them completely.

I tried adding an event hook in the config.yaml file and setting it to disabled. But it is just a hook so it does not disable the original event. I am on version 1.3.10 api 0.1

Thanks Rick/