PUT /cabinet/view

Use this PUT method to modify the numbering order preference for devices in racks (cabinets).

Note: This API requires Lenovo XClarity Administrator v2.8.0 or later.

Authentication

Authentication with user name and password is required.

Request URL

PUT https://<management_server_IP>/cabinet/view

Query parameters

None

Request body

Parameter Required / Optional Type Description
topToBottomView Required Boolean Indicates the rack numbering order preference. This can be one of the following values.
  • true. Devices numbers are ordered from the top to the bottom (for example, 1 – 52).
  • false. Devices numbers are ordered from bottom to the top (for example, 52 – 1).

Request example

{
   "topToBottomView": true
}

Response codes

Code Description
200 OK
400 Bad request
500 Internal server error

Response body

None