Suspending Licenses
Suspending a license will cause LexActivator IsLicenseGenuine()
function to return LA_SUSPENDED
status code on the user machine, based on which you can take any action in your application.
Allowing the license later will automatically cause LexActivator IsLicenseGenuine()
function to return LA_OK
status code. User doesn't need to reactivate the license.
Suspending a license
To suspend a license you need to hit the license update endpoint and set suspended
property to true
.
Suspending a license
PATCH
https://api.cryptlex.com/v3/licenses/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | Unique identifier for the license. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer access token. |
Request Body
Name | Type | Description |
---|---|---|
suspended | boolean | Set true to suspend the license. |
Last updated