Skip to main content

Complex Password status

Table 1. Complex Password status properties

Field

Type

Read only

Description

ComplexPassword

String

False

Complex password status:
  • enable
  • disable

Request

Get Complex Password status

GET https://{{ip}}/redfish/v1/Managers/Self/Oem/Lenovo/ComplexPW
Content-Type: application/json

Response example

{
"@odata.context": "/redfish/v1/$metadata#UserManagement.UserManagement",
"@odata.etag": "\"1580645047\"",
"@odata.id": "/redfish/v1/Managers/Self/Oem/Lenovo/ComplexPW",
"@odata.type": "#LenovoComplexPW.LenovoComplexPW",
"ComplexPassword": "enable",
"Id": "ComplexPW",
"Name": "User Manager Complex Password Settings"
}

Request

Change Complex Password status

PATCH https://{{ip}}/redfish/v1/Managers/Self/Oem/Lenovo/ComplexPW
Content-Type: application/json

Request body

{
"ComplexPassword": disable
}

Response code

The response content is 204 accepted with no body.