Revoking Licenses
Revoking a license will cause LexActivator IsLicenseGenuine() function to invalidate the local license activation data on the user machine and return LA_FAIL status code. Any further attempt to reactivate the license using ActivateLicense() will return LA_E_REVOKED status code.
Approving the license later will require the user to reactivate the license.
Revoking a license is appropriate when the license should no longer be trusted and must be invalidated completely. Typical scenarios include:
- Refunds or chargebacks where the entitlement is permanently removed
- Cancellation scenarios where the existing activation must be invalidated
When a license is revoked, the client removes the local license data. If the license is later allowed again or replaced, the user must perform a fresh activation.
Revoking a license
To revoke a license you need to hit the license update endpoint and set revoked 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 |
|---|---|---|
| revoked | boolean | Set true to revoke the license. |