v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14101465558.4 KB

<i>This action is no longer supported.</i> You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software token MFA. To configure either type of MFA, use <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserMFAPreference.html">AdminSetUserMFAPreference</a> instead.

post/#X-Amz-Target=AWSCognitoIdentityProviderService.AdminSetUserSettings

Headers

X-Amz-Target'AWSCognitoIdentityProviderService.AdminSetUserSettings' required

Request body

UserPoolIdstring required

The ID of the user pool that contains the user whose options you're setting.

Usernamestring password required

The user name of the user whose options you're setting.

Response

Success

AdminSetUserSettingsResponse required

Represents the response from the server to set user settings as an administrator.