/licenses resource is the core of Avalex’s licensing system. A license ties a specific product to a specific customer and controls how, where, and for how long their software can run. Each license tracks which IP addresses and hardware IDs (HWIDs) have been bound to it, records every validation attempt, and carries a version counter for safe concurrent updates. You can issue licenses manually, adjust slot limits, extend expiry dates, and clear bound devices — all through this API.
Required Permissions
List All Licenses
string
required
Bearer
<token> or Basic credentials.Create a License
string
required
Bearer
<token> or Basic credentials.string
required
ID of the product this license is issued for.
string
required
ID of the customer who owns this license.
number | null
Expiry timestamp in milliseconds. Set to
null for a perpetual (never-expiring) license.integer | null
Maximum number of IP addresses this license may bind to. Overrides the product-level default. Set to
null for unlimited.integer | null
Maximum number of hardware IDs this license may bind to. Overrides the product-level default. Set to
null for unlimited.Get a License by ID
string
required
The unique license ID (e.g.
lic_12345).404 Not Found if the license does not exist.
Update a License
string
required
The unique license ID.
404 Not Found if the license does not exist.
This is a full replacement (
PUT). To remove a bound HWID or IP address, omit it from the usedHwids or usedIps arrays in your request body. Any entries you include will be retained; any you omit will be cleared.Delete a License
string
required
The unique license ID.
204 No Content on success and 404 Not Found if the ID does not exist.
