CmdID

CmdID / aws / aws cognito-idp

aws cognito-idp admin-update-device-status

Updates the status of a user's device so that it is marked as remembered or not remembered for the purpose of device authentication. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update device status

The following admin-update-device-status example sets the device remembered status for the device identified by device-key to not_remembered.

aws cognito-idp admin-update-device-status --user-pool-id us-west-2_aaaaaaaaa --username diego@example.com --device-key xxxx --device-remembered-status not_rememberedIdentify
--user-pool-idThe ID of the user pool where you want to change a user's device status.
--usernameThe name of the user that you want to query or modify.
--device-keyThe unique identifier, or device key, of the device that you want to update the status for.
--device-remembered-statusTo enable device authentication with the specified device, set to remembered.To disable, set to not_remembered.

This command produces no output.

For more information, see Working with user devices in your user pool in the Amazon Cognito Developer Guide.

Options

4 in the AWS CLI reference
--device-keyThe unique identifier, or device key, of the device that you want to update the status for.
--device-remembered-statusTo enable device authentication with the specified device, set to remembered.To disable, set to not_remembered.
--user-pool-idThe ID of the user pool where you want to change a user's device status.
--usernameThe name of the user that you want to query or modify.