GET /aicc/network/hostname

Use this method to return the Lenovo XClarity Administrator hostname.

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

Authentication

Authentication is not required.

Request URL

GET https://{management_server_IP}/aicc/network/hostname

Query parameters

None

Request body

None

Response codes

Code Description Comments
200 OK The request completed successfully.
500 Internal Server Error An internal error occurred. A descriptive error message is returned in the response body.

Response body

Parameters Type Description
hostname String XClarity Administrator hostname
The following example is returned if the request is successful.
{
   "hostname": "localhost"
}