unsubscribe contact in inbox25 from suitecrm?

How can I unsubscribe a contact/lead in inbox25 from suitecrm code?

I just learned there is a thing called Inbox25, I didn’t know about it.

But it seems it has an API

https://www.inbox25.com/api/

which uses HTTP methods, so you can call them from PHP with curl. If you search the SuiteCRM code for “curl” you will find examples of similar things.