Disable OTP for a given OTP Type.
https://help.tago.io/portal/en/kb/articles/526-two-factor-authentication Two-factor Authentication (2FA)
const account = new Account({ token: "YOUR-PROFILE-TOKEN" });const result = await account.disableOTP({ email: "user@example.com", password: "password" }, "sms");console.log(result); Copy
const account = new Account({ token: "YOUR-PROFILE-TOKEN" });const result = await account.disableOTP({ email: "user@example.com", password: "password" }, "sms");console.log(result);
Disable OTP for a given OTP Type.