Sync CM to Rails app

I stored subscriber list in my rails app.  Any changes made in my rails app I can use CM API to update subscriber list in CM.
if a user unsubscribe himself by clicking the 'unsubscribe' link in email, is it possible to tell my rails app to update my subscriber list which stored in my rails app?

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free