Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/cognito-idp/admin-set-user-mfa-preference.rst
1567 views
**To set the user MFA preference**

This example sets the SMS MFA preference for username [email protected]. 

Command::

  aws cognito-idp admin-set-user-mfa-preference --user-pool-id us-west-2_aaaaaaaaa --username [email protected] --sms-mfa-settings Enabled=false,PreferredMfa=false