Update a email status in contact without sending a confirmation email manually

I want to update a email status in contact using a method instead of sending email mannualy\

I’m working in rails app and using infusionosft gem. Thanks!

Here are some similar answers that have been posted that should be able to help you out:

[

Change email status when create new contact via API?
community.keap.com

](Change email status when create new contact via API?)

[
e5e44640c5a23159ac2b6532f3059a48faa10407.png

How to make contact’s Email status Marketable by REST API? Or manually from CRM?
community.keap.com

](How to make contact's Email status Marketable by REST API? Or manually from CRM? - #6 by pagedesigner)

If someone is marked as ‘non-marketable’ or ‘opted-out’ you are not able to mark them as ‘marketable’ or ‘opted-in’ via the API. This has been disabled to avoid abuse. The only way to get them opted in again is to send the email confirmation and have them opt-in, or to have them complete a web form (which opts them in).

Thanks,
Jeff

Above is not working, I’m using this gem: GitHub - nateleavitt/infusionsoft: Ruby Gem for the Infusionsoft API, i want to update email status from rails side.