… but only sometimes!
I have a webhook set up to monitor a variety of events, including group.user_membership.remove
.
If I have a user in a group, and I delete that user, I get a group.user_membership.remove
event with a User target whose alternateId
is the same as its id
. But if I just remove the user from the group without deleting it (e.g. with a change of a Group Rule), then I get the same event type but with the alternateId
on the User target set to their primary email (which is what I tend to see the alternateId
set to for every other event type I’ve looked at so far).
Is this a mistake? Or if it’s intentional, what’s the reasoning?