PUT /service/country
Use this method to modify 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
PUT https://<management_server_IP>/service/country
Query parameters
None
Request body
Parameter | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
country | Required | String | Two-letter ISO 3166 code for the country or region To obtains the code, use GET /utils/countries. |
The following examples set the country code.
{
"country": "US"
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
Response body
None
Give documentation feedback