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 is appropriate when you expect the license to become valid again without requiring user action. Typical scenarios include:
- Temporary payment issues, such as a failed renewal or an invoice pending payment
- Short-term policy or usage violations that can be resolved
- Temporarily blocking access while an issue is being reviewed or investigated
- Grace period handling for subscriptions
In these cases, the license data remains intact on the client machine. Once the license is allowed on the server side, the application automatically returns to a valid state without requiring a reactivation.
Suspending a license
To suspend a license you need to hit the license update endpoint and set suspended property to true.
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 |