We are using the Authy API to initiate mobile verification codes via SMS, and during our PoC the code would attempt to register users every time a verification code is requested (so it would register, and then request the SMS). The reasoning at the time was that if a user changed their email (mobile number the same), we would want to register them again with that new email. Calling register with a user that already was registered is basically a No-op (it returns the current registered user's authy Id).
Looking back I'm wondering now if this registration every time is needed. I've looked through the API documentation and I can't find the correct process for updating a registered user's email address, or even if we should care about the email address once we have a user registered.
Any advice on this would be appreciated.