Skip to content

Unsubscribe everyone on a List via API

edited July 2021 in Questions

Hi there,

Is it possible to mass-unsubscribe everyone on an entire list via the API?

If it is not possible, I am thinking I could remove all entries in the database directly and create a custom endpoint elsewhere. For example, to remove all subscribers from list with ID 7:

DELETE * FROM subscribers WHERE list=7;

Can you foresee a problem from using this method?

Comments

  • Hi,

    Basically, if the list you’re unsubscribing a user from has their unsubscribe settings set as ‘All lists’ in the list settings, the same email address will be unsubscribed from all other lists it belongs to.

    The default unsubscribe settings is ‘All lists’.

    Thanks.

    Best regards,
    Ben

This discussion has been closed.