CmdID / aws / aws cognito-idp
aws cognito-idp confirm-forgot-password
This public API operation accepts a confirmation code that Amazon Cognito sent to a user and accepts a new password for that user. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--analytics-metadataInformation that supports analytics outcomes with Amazon Pinpoint, including the user's endpoint ID.--client-idThe ID of the app client where the user wants to reset their password.--client-metadataA map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.--confirmation-codeThe confirmation code that your user pool delivered when your user requested to reset their password.--passwordThe new password that your user wants to set.--secret-hashA keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.--user-context-dataContextual data about your user session like the device fingerprint, IP address, or location.--usernameThe name of the user that you want to query or modify.