To activate a license for a given, unique combination of the activation key and HostID, use the following request:
Panel |
---|
|
...
where the request parameters are as follows:
...
(Note that request headers are used by default.)
Example request
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
PUT /rest/v1/liceneslicenses/4CT1V-4T10N-K3Y1S-C000L/dHlwZTE9dmFsdwUxLHR5cGUyPXZhbHVlPTIdHlwZTE9dmFsdWUxLHR5cGUyPXZhbHVlPTI= |
Response
The LAC REST API returns standard HTTP response codes as described in the following table.
Status Code | Header Field | Description |
---|---|---|
202 Accepted | The request for a new license is created upon its successful validation. Furthermore, it indicates that the Location header field value consists of an absolute URI for automatic redirection to this resource.
| |
| The requested activation key is invalid or the format of a hosid is wrong. The response body contains more details about this error.
| |
403 Forbidden | The license cannot be activated according to the internal configuration. The response message contains more information. |
Example response
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
HTTP/1.1 202 Accepted |
For more information about HTTP methods, see Supported HTTP methods.