I want to delete a user's email from my list in MailChimp using the API or Gibbon. However, there's no documentation about this in Gibbon repo.
As of now, I can only delete the email from the MailChimp website.
I want to delete a user's email from my list in MailChimp using the API or Gibbon. However, there's no documentation about this in Gibbon repo.
As of now, I can only delete the email from the MailChimp website.
Would unsubscribe help you?
gibbon.lists(list_id).members(lower_case_md5_hashed_email_address).update(body: { status: "unsubscribed" })
Based on your comment and the mailchimp docs try:
gibbon.lists(list_id).members(lower_case_md5_hashed_email_address).delete
I'm using this code; it works (Rails 5 / Gibbon 3.2.0):
Gibbon::Request.lists(list_id).members(lower_case_md5_hashed_email_address).delete