@DELETE @Path("{id}") public Response delete(@PathParam("id") Long id) { service.deleteUserById(id); return Response.noContent().build(); }