Enable OTP for a given OTP Type. You will be requested to confirm the operation with a pin code.
https://help.tago.io/portal/en/kb/articles/526-two-factor-authentication Two-factor Authentication (2FA)
If receive an error "Authorization Denied", check policy in Access Management.
const account = new Account({ token: "YOUR-PROFILE-TOKEN" });const result = account.enableOTP({ email: "user@example.com", password: "password" }, "sms");console.log(result); Copy
const account = new Account({ token: "YOUR-PROFILE-TOKEN" });const result = account.enableOTP({ email: "user@example.com", password: "password" }, "sms");console.log(result);
Enable OTP for a given OTP Type. You will be requested to confirm the operation with a pin code.