class DetectorMappingController {

    @RequestMapping(value = "/deleteMappingsByDetectorUuid", method = RequestMethod.DELETE)
    @ResponseStatus(HttpStatus.OK)
    public void deleteMappingsByDetectorUUID(@RequestParam UUID uuid) {
        AssertUtil.notNull(uuid, "detector uuid can't be null");
        detectorMappingRepo.deleteMappingsByDetectorUUID(uuid);
    }

}