Modifies the logon configurations of a RAM user.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateLoginProfile

The operation that you want to perform. Set the value to UpdateLoginProfile.

UserName String Yes zhangq****

The name of the RAM user.

MFABindRequired Boolean No true

Specifies whether an MFA device must be attached to the RAM user upon logon.

Password String No mypassword

The logon password of the RAM user. The password must meet the password strength requirements.

PasswordResetRequired Boolean No true

Specifies whether the RAM user must change the password upon logon.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.