Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status CodeHeader FieldDescription
202 Accepted

New license request has been created after successful license validation. The Location header field contains an absolute URI for automatic redirection to this resource.

 

400 Bad Request

 

 

Requested activation key is invalid or the format of a hostid is wrong. Response body contains more detailed information about this error.


 

 

 403 ForbiddenLicense cannot be activated, because it is not in sync with the internal configuration. Response message contains more information.

Example responseresponses

Code Block
languagetext
firstline1
linenumberstrue
HTTP/1.1 202 Accepted
Vary: Accept
Location: https://license.x-formation.com/rest/v1/license-queue/4CT1V-4T10N-K3Y1S-C000L/dHlwZTE9dmFsdWUxLHR5cGUyPXZhbHVlPTI=
Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 400 Bad Request
Vary: Accept
 
{
    "message": "Invalid HostID format provided."
}
Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 403 Forbidden
Vary: Accept
 
{
    "message": "License generator was not uploaded for this product."
}

 

 

For more information about HTTP methods, see Supported HTTP methods.