APIv3-examples icon indicating copy to clipboard operation
APIv3-examples copied to clipboard

Is there a way to remove a Tag from mailchimp

Open joaojoyce opened this issue 6 years ago • 0 comments

Hi,

This might not be the right place to ask but let me know where we can get some help about this issue...

I'm trying to provide some tags to my contacts using mailchimp API.

I can add them fine by making a call to "add_list_members" and providing the "tags" field for each user.

But this field always adds more tags, it doesn't remove the previously added tags.

So if I call "add_list_members" and add user [email protected] to the following tags: "Tag one" "Tag two"

And then make a new call to "add_list_members" for the same user only providing "Tag one", the other tag ("Tag two") will still be there.

Sure I can run a call for each member to remove its tags, but this doesn't seem reasonable.

Is there a way to remove a particular Tag using the API, so that specific Tag is no longer assigned to any user? That way I can run it before "add_list_members" and everything should work fine.

joaojoyce avatar Jul 15 '19 17:07 joaojoyce