def facts
      User.current = User.anonymous_admin
      async_task(::Actions::Katello::Host::Update, @host, rhsm_params)
      update_host_registered_through(@host, request.headers)
      render :json => {:content => _("Facts successfully updated.")}, :status => :ok
    end
def facts
      User.current = User.anonymous_admin
      async_task(::Actions::Katello::Host::Update, @host, rhsm_params)
      update_host_registered_through(@host, request.headers)
      render :json => {:content => _("Facts successfully updated.")}, :status => :ok
    end
api :PUT, "/consumers/:id", N_("Update consumer information")