Skip to main content

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

ParameterRequired / OptionalTypeDescription
countryRequiredStringTwo-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

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA 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