LicUnReg
Unregister License
Unregisters a license from TrialKey
GET
https://signup.trialkey.ca/api/v2/LicUnReg
This endpoint allows a registered license for your application to be unregistered. Once unregistered, this license can be re-registered and consumed by the user. This functionality can be used for licenses that are locked to a particular machine name.
Example URL:
/LicUnReg?AuthToken=<AUTH_TOKEN>&InstallKey=&Domain=mywebsite.com
Query Parameters
Domain*
String
Your account domain (i.e. the mywebsite.com part of www.mywebsite.com)
AuthToken*
String
The AuthToken acquired from calling the DoLogin() API.
InstallKey*
String
Unique license identifier of an already installed license.
Return Value: If any of the required parameters are missing, the call will fail with a 404 HTTP status code. If the InstallKey refers to a license that is an expired trial, then the call will fail with a 404 HTTP status code. If the InstallKey cannot be found, then text of Not valid
will be returned with a RetCode
of 4010 and a RetCodeDesc
of License not valid
.
If the call succeeds, it will return the string Valid
with a RetCode
of 3010 and a RetCodeDesc
of License has been unregistered
. Additionally, when this call succeeds, the UnInstall Count in the dashboard will be incremented to show how many times in total this license has been uninstalled.
user is successfully authenticated, then the call returns a string that represents an authentication token (referred to as an AuthToken) in the format a75774e6-7a4a-44d0-8fc7-9f51c293ea7d
. This token can be subsequently used in other calls to check the license etc. This AuthToken is also set as a cookie called AuthToken
and is also returned as a custom header called AuthToken
.
Last updated