Versions Compared

Key

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

...

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

 

 

Panel

DELETE /licenses/(activation_key)/(hostids)

 

wherewhere the request parameters are as follows: 

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

(Note that request headers are used by default.)

Example request

 

panel
Code Block
languagejs
firstline1
linenumberstrue
DELETE /rest/v1/
licenes
licenses/4CT1V-4T10N-K3Y1S-C000L/
dHlwZTE9dmFsdwUxLHR5cGUyPXZhbHVlPTI
dHlwZTE9dmFsdWUxLHR5cGUyPXZhbHVlPTI= HTTP/1.1

Host: license.x-formation.com

Accept: application/hal
_
+json

Response

The LAC REST API returns standard HTTP response codes as described in the following table.

404 Not Found
Status CodeHeader FieldDescription 
204 No ContentDeactivation successful.
403 ForbiddenThe license order has been disabled.
404 Not FoundCannot deactivate license.

Example response

 

panel
Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 204 No Content

...

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