Modifies the console logon information for a specified Resource Access Management (RAM) user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:UpdateLoginProfile |
update |
*User
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserPrincipalName |
string |
Yes |
The logon name of the RAM user. |
test@example.onaliyun.com |
| Password |
string |
No |
The new console logon password for the RAM user. The password must meet the password strength requirements. |
mypassword |
| PasswordResetRequired |
boolean |
No |
Specifies whether the RAM user must reset the password at the next logon. Valid values:
|
false |
| MFABindRequired |
boolean |
No |
Specifies whether to enforce multi-factor authentication (MFA) for the RAM user. Valid values:
|
false |
| Status |
string |
No |
Specifies whether to enable or disable password-based logon to the console. Valid values:
|
Active |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BCDB6A7F-2199-41D9-B577-4FA536A5ADE1 |
| LoginProfile |
object |
The console logon information. |
|
| UserPrincipalName |
string |
The logon name of the RAM user. |
test@example11.onaliyun.com |
| Status |
string |
Specifies whether password logon to the console is enabled or disabled. |
Active |
| UpdateDate |
string |
The time when the logon profile was updated. |
2020-10-14T07:48:41Z |
| PasswordResetRequired |
boolean |
Indicates whether the RAM user must reset the password at the next logon. |
false |
| MFABindRequired |
boolean |
Indicates whether MFA is enforced for the user. |
false |
| AutoDisableLoginStatus |
string |
Indicates whether to automatically disable console logon for an inactive account. This feature is enabled by default and cannot be disabled. |
true |
| PasswordStatus |
string |
The status of the initial password. An initial password is the one set when a logon profile is created or console logon is re-enabled. Valid values:
|
NotInitial |
Examples
Success response
JSON format
{
"RequestId": "BCDB6A7F-2199-41D9-B577-4FA536A5ADE1",
"LoginProfile": {
"UserPrincipalName": "test@example11.onaliyun.com",
"Status": "Active",
"UpdateDate": "2020-10-14T07:48:41Z",
"PasswordResetRequired": false,
"MFABindRequired": false,
"AutoDisableLoginStatus": "true",
"PasswordStatus": "NotInitial"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.