Can you force the Identify API to replace an array with the most recent value?
I have a user property which was (accidentally) set to append numeric values vs. replace. I have since fixed this setting, but my user property remains an array after updates with Identify calls. Updates seem to update one value in the array, leaving other items in the array unchanged. The user property is defined as an Integer in Amplitude (and has been all along).
Eg.
ages = e6,4,9,2,1]
On identify call now, updating “ages” to a new value will only replace a value in the array, vs setting the user property to the new value.
How can I force a numeric user property currently appearing as an array to take an update?
Eg. I want...
ages = 3; // with an Identify call updating user property “ages” to “3”
Any help would be much appreciated. Thanks!!