Skip to main content

We have a use case where we have a list of tags that we apply to users and I want to make use of the append function to have an array representing the list of tags. We also occasionally remove tags from a user. Is it possible to remove a specific entry from an array property? 

Hi @elniallo 

Thanks for writing into Amplitude Community!

Indeed, you can maintain the array using the prepend, append and the remove function provided in the Identify API. Attaching an example call where we have an array called ArrayProperty and we are removing the passed values, meaning we are removing, in this example, two elements named "First Element Name" and "Second Element Name" from the ArrayProperty array. I hope that helps!

Kind Regards,
Denis


Reply