GET /service/country
Use this method to return the country in which XClarity Administrator is located. This country used to download Storage DM firmware.
Note
This REST API requires Lenovo XClarity Administrator v3.3.0 or later.
Authentication
Authentication with username and password is required.
Request URL
GET https://<management_server_IP>/service/country
Query parameters
None
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
Response body
Parameters | Type | Description | ||
---|---|---|---|---|
country | String | Two-letter ISO 3166 code for the country or region To obtains the code, use GET /utils/countries |
The following example is returned if the request is successful.
{
"country": "CN"
}
Give documentation feedback