class VenController {

	@RequestMapping(value = "/{venID}/cleanRegistration", method = RequestMethod.POST)
	@ResponseBody
	public void cleanRegistration(@PathVariable("venID") String venUsername, HttpServletResponse response) {
		Ven ven = venService.findOneByUsername(venUsername);
		if (ven == null) {
			LOGGER.warn("Unknown Ven: " + venUsername);
			response.setStatus(HttpStatus.NOT_FOUND_404);
			return;
		}
		venService.cleanRegistration(ven);
		response.setStatus(HttpStatus.OK_200);
		LOGGER.info("Clean registration of Ven: " + ven.getUsername());
	}

}