@RequestMapping(value = "/contacts/{contactId}/attachments/{attachmentId}", method = DELETE) public void deleteAttachment(@PathVariable Long contactId, @PathVariable Long attachmentId) { logger.debug("deleting attachment for contact {}, attachment id {}", contactId, attachmentId); contactService.deleteAttachment(attachmentId); }