Corollary 12.4.12. Let \(p\colon C \to S\) be a cartesian fibration. We assume given a subcategory \(i\colon W\hookrightarrow C\) such that \(p\circ i\) is a cartesian fibration and \(i\) is a cartesian functor over \(S\). Then the functor \(\eta_C\colon C \to L_S(C,W)\) exhibits \(L_S(C,W)\) as the localization of \(C\) by the morphisms in \(W\) which are sent to isomorphisms in \(S\).
Proof
This follows from Theorem 8.8.9 for \(p\catop\colon C\catop\to S\catop\) and applying the functor \((-)\catop\).