Modifies the logon configurations of a RAM user.

Debug

Use API Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes UpdateLoginProfile

The name of this action.

Value: UpdateLoginProfile

UserName String Yes Alice The username.
MFABindRequired Boolean No true Indicates that you must attach a device with Multi-Factor Authentication (MFA) upon next logon.
Password String No mypassword The password. It must meet the password strength requirements.
PasswordResetRequired Boolean No true Specifies whether you must change your password upon logon.

Response parameters

Parameter Type Example value Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368 The request ID.

Example

Request example

https://ram.aliyuncs.com/?Action=UpdateLoginProfile
&UserName=Alice
&Password=mypassword
&PasswordResetRequired=true
&<Common parameters>

Response example

XML format

<UpdateLoginProfile>
  <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</UpdateLoginProfile>

JSON format

{
    "RequestId":"04F0F334-1335-436C-A1D7-6C044FE73368"
}

Errors

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