Mfa prompt with all the options enabled

Hi there,
During login user can prompt with all the mfa enabled not just one that he enrolled initially during sign up , how could i do that using programatically?
For example he entrolled initally with SMS later he may want to switch to some thing else during that time i want to present the below , it doesn’t work. pls advice.
if (userAgent !== storedFingerprint) {
api.authentication.challengeWithAny([{ type: ‘sms’}, { type: ‘push-notification’ }]);
api.multifactor.enable(“any”); (this prompts only that is enrolled .