Versions Compared

Key

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

This page refers to End-user REST API version 2 only. See End-user REST API for links to other versions of the End-user REST API.


The following page lists The following page lists the HTTP operations that need to be performed to successfully deactivate an LAC license using the End-user REST API version 2. 

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

...

Code Block
languagejs
firstline1
linenumberstrue
DELETE /rest/v1v2/licenses/4CT1V-4T10N-K3Y1S-C000L/dHlwZTE9dmFsdWUxLHR5cGUyPXZhbHVlPTI= HTTP/1.1
Host: license.x-formation.com
Accept: application/hal+json

...

Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 403 Forbidden
Content-Type: application/hal+json
 
{
	"code": 1506,
    "message": "Cannot deactivate license."
}

...

Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 404 Not Found
Content-Type: application/hal+json
 
{
 	"code": 1711, 
    "message": "License does not exist."
}

...