Page tree

Versions Compared

Key

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

...

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

Panel
DELETE /licenses/(activation_key)/(hostids)

 where: 

...

Code Block
languagejs
firstline1
linenumberstrue
DELETE /rest/v1/licenses/4CT1V-4T10N-K3Y1S-C000L/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.

Status CodeHeader FieldDescription 
204 No ContentDeactivation successful.
403 Forbidden

License order has been disabled or cannot deactivate license, because it's not allowed for end user.

404 Not FoundLicense does not exist.

Example responses

Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 204 No Content

...