Let $G$ be an abstract finite group acting on a separated $k$-scheme $X$. ($k$ a field; note we can canonically promote $G$ to a $k$- scheme). Then a result by Demazure and Grothendieck (in "Schémas en Groupes") shows that under these assumptions ( indeed one can replace $k$ by more general base $S$, but for my purposes $k$ as base suffice) the $G$-fixed point functor
$$ X^G(T) := \{ x \in X(T) \mid\text{$G(T')$-action on $X(T') $ fixes $x$ for all $T$-schemes $T'$}\} $$
($T$ $k$-scheme) is representable by a closed subscheme $X^G \subset X$.
Question: The result is in general setting given abstractly. Is it possible in "simple" situations to describe $X^G$ as subscheme explicitly? Say $X=\operatorname{Spec}(R)$, where $R:= k[X_1,...,X_n]/I= k[r_1,...,r_n]$ for approp ideal $I$ and $G := \Bbb Z/d =\langle g \rangle $ acting on $R$.
Can we explicitly conceptionally describe the defining ideal $J \subset R$ defining closed $X^G = V(J) \subset X$?
"Morally"/ intuitively this should be in appropriate sense be "dual" to GIT quotient ( ...let assume it exists) which then it given as spec of $R^G$, so tends to expect that this should be somehow related to it.
If I would have beeing asked to make a guess about $J$ I would tend to conjecture that $J = \langle r_1 - g(r_1),..., r_ n-g(r_n) \rangle$, but I not know to justify it precisely. Any idea?