Userbase

Docs : SDK : cancelSubscription

cancelSubscription lets your users cancel their subscription.

    
      userbase.cancelSubscription().then((result) => {
        // user sucessfully canceled subscription
      }).catch((e) => console.error(e))
    
  

Result

Notes

Errors