Skip to main content

PUT /registration

Use this method to import the registration token in the management server.

Note
This REST API requires Lenovo XClarity Administrator v3.4.0 or later.

Authentication

Authentication with username and password is required.

Request URL

PUT https://{management_server_IP}/registration

Query parameters

None

Request body

AttributesRequired / OptionalTypeDescription
tokenRequiredStringFree-license registration token

If you registered Lenovo XClarity Administrator using the REST API, this token is returned by POST /registration. If you registered using the Lenovo XClarity Registration web portal, the token is returned when you complete the registration.

The following example installs the free-license registration token.
{
"token": "0DF4-0110-E231"
}

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.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

None