As I recall, simply remove one M3(??) hex bolt and carefully withdraw the sensor. If necessary, give a small twist to loosen the sensor before pulling.
Don't lose any of the shims - unless you are changing the wheel or hub they will all need to go back when refitting.