Reputation: 8470
Is there a way to change the Account status
on a user by CLI command?
I know I can resend an email verification with:
aws cognito-idp resend-confirmation-code --client-id 54675464564564 --username [email protected]
Is there are any similar command for what I need?
Upvotes: 3
Views: 1041
Reputation: 8470
Ok, it was with:
aws cognito-idp admin-update-user-attributes --user-pool-id us-east-2_XXXX --username [email protected] --user-attributes Name="email_verified",Value="false"
Upvotes: 2