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
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
Welcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comWelcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.