API Guide

Table 197. Attributes (continued)
Attribute name Description
MaxPasswordLength Maximum length of the password.
ServiceEnabled Indicates if the service is enabled or disabled.
AuthFailureLoggingThreshold The number of authorization failures after which the failure
attempt is logged in the Manager log.
AccountLockoutThreshold The number of failed login attempts after which a user account is
locked for the specified duration. 0 indicates that the account is
never locked.
AccountLockoutDuration Number of seconds for which an account is locked after the
account lockout threshold is met. This value must be equal to or
greater than the value for AccountLockoutResetAfter. 0 indicates
that the account is never locked.
AccountLockoutCounterResetAfter Number of seconds after which the lockout threshold counter is
reset to zero. The duration is counted from the last failed login
attempt. This value must be equal to or less than the value for
AccountLockoutDuration.
EnableIpRangeAddress Indicates if IP range address is enabled or disabled.
IpRangeAddress IP range address to be used.
PUT method for AccountService
This method updates the account configuration of all the accounts.
Description
Updates the account configuration.
Privilege SECURITY_SETUP
HTTP response
codes
200
Example request
body
{
"Id": "10",
"Description": "OME-Modular User Accounts",
"Name": "Account Service",
"Status": {
"State": "Enabled",
"HealthRollup": "OK",
"Health": "OK"
},
"ServiceEnabled": false,
"AuthFailureLoggingThreshold": 3,
"MinPasswordLength": 8,
"MaxPasswordLength": 20,
"AccountLockoutThreshold": 3,
"AccountLockoutDuration": 30,
"AccountLockoutCounterResetAfter": 900
}
Example response
body
{
"Id": "10",
"Description": "OME-Modular User Accounts",
"Name": "Account Service",
"Status": {
"State": "Enabled",
"HealthRollup": "OK",
"Health": "OK",
"Oem": null
610 Redfish resource model