SetPasswordHistoryConfiguration
Sets the password history policy for a specified Enterprise Identity and Access Management (EIAM) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:SetPasswordHistoryConfiguration |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| PasswordHistoryStatus |
string |
Yes |
The status of the password history configuration. Valid values:
|
enabled |
| PasswordHistoryMaxRetention |
integer |
No |
The number of recent password records to retain. This parameter is required when PasswordHistoryStatus is set to enabled. |
3 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.