class DetectorMappingController {

    @RequestMapping(value = "/disable", method = RequestMethod.PUT)
    @ResponseStatus(HttpStatus.OK)
    public void disableDeleteDetectorMapping(@RequestParam String id) {
        AssertUtil.notNull(id, "id can't be null");
        detectorMappingRepo.disableDetectorMapping(id);
    }

}