Mautic Community Forums

How to remove tags of a contact via the API?

Hi,



Is there a way to remove specific tags from a contact via the API ?



Thanks.

1 Like

Hi,

Is there a way to remove specific tags from a contact via the API ?

Thanks.

I was looking for the same answer for Mautic 2.x API.
It turns out that if you add a minus (-) as a preffix to your tag, it’ll be removed.
I.e: -tagtoremove