code: @POST
    @Path("{id}/email")
    @RolesAllowed({"ROLE_ADMIN"})
    public Response changeEmail(@PathParam("id") Long userId, EmailRequest request) {
      checkNotNull(userId);
      checkEmailFormat(request.getEmail());
  
      boolean isSuccess = userService.changeEmailAddress(userId, request.getEmail());
      return isSuccess ? Response.noContent().build() : Response.status(Response.Status.BAD_REQUEST).build();
    }
docs: Admin changing a users email.
  
  @param userId unique user id
  @param request injected
  @return 204 if success