/** * Deletes a contributor by ID. * * @param id the id of the contributor to delete. */ @RequestMapping(value = "v1/contributors/{id}", method = RequestMethod.DELETE) public @ResponseBody @PreAuthorize("hasRole('ROLE_ADMINS')") void removeContributor( @PathVariable("id") String id) { service.delete(id); }