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
Attributes | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
token | Required | String | Free-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
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. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
None
Give documentation feedback