Which first-order theories have models uniquely determined (up to isomorphism) by their automorphism groups?
For the purposes of this question, I'm assuming that a model cannot be empty.
I will nonstandardly call a ring that is not necessarily commutative an ordinary ring.
I was wondering the other day whether models of Peano Arithmetic are uniquely determined by their automorphisms. The standard model of arithmetic has no nontrivial automorphisms (because zero and all of its successors are fixed), but the other models have nonstandard elements that seem less nailed down at first glance. It turns out that this is not true by the argument in this answer and there are many nonstandard models of arithmetic with no nontrivial automorphisms.
Then I thought about theories where models are uniquely determined (up to isomorphism) by their automorphism group and came up with the empty theory $T = \varnothing$. A model of the empty theory is essentially just a set, and two sets are isomorphic iff they have the same cardinality. Their automorphism groups are the symmetric groups, which are also isomorphic iff they have the same cardinality.
Groups are not uniquely determined by their automorphism groups, by the argument in this answer.
Ordinary rings are not uniquely determined by their automorphism groups. By the argument in this answer there is a non-commutative ring with a trivial automorphism group. The ordinary ring $\{0, 1\}$ also has a trivial automorphism group.