Versions Compared

Key

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

To activate a license for a given, unique combination of the activation key Activation Key and HostID, use the following request:

Panel

PUT /licenses/(activation_key)/(hostids)

 where the request parameters are as follows:

 

  • activation_key (string) , which is is your product activation key, and
     
  • hostids (base64), which are encoded hostids.are encoded in base64 format

 (Note that request headers are used by default.)

Example request

language
Code Block
jsfirstline1
linenumberstrue
PUT /rest/v1/licenses/4CT1V-4T10N-K3Y1S-C000L/dHlwZTE9dmFsdWUxLHR5cGUyPXZhbHVlPTI= HTTP/1.1
Host: license.x-formation.com
Accept: application/hal+json

...

Example response

Code Block
languagejstext
firstline1
linenumberstrue
HTTP/1.1 202 Accepted
Vary: Accept
Location: https://license.x-formation.com/rest/v1/license-queue/4CT1V-4T10N-K3Y1S-C000L/dHlwZTE9dmFsdWUxLHR5cGUyPXZhbHVlPTI=

...