pmiranda
pmiranda

Reputation: 8470

AWS Cognito, change Account status by CLI

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

Answers (1)

pmiranda
pmiranda

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

Related Questions