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_SetUserMFAPreference.html">SetUserMFAPreference</a> instead.

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

Headers

X-Amz-Target'AWSCognitoIdentityProviderService.SetUserSettings' required

Request body

AccessTokenstring password required

A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.

Response

Success

SetUserSettingsResponse required

The response from the server for a set user settings request.