class AssuranceController {

    @CrossOrigin(origins = "*")
    @DeleteMapping(path = "/assurances/assuranceid/{assuranceId}")
    public HttpEntity deleteAssurance(@PathVariable String assuranceId, @RequestHeader HttpHeaders headers) {
        AssuranceController.LOGGER.info("[Assurances Service][Delete Assurance]");
        return ok(assuranceService.deleteById(UUID.fromString(assuranceId), headers));
    }

}