/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
Returns an array of all license records in your Avalex account.Create a License
Expiry timestamp in milliseconds. Set to
null for a perpetual (never-expiring) license.Maximum number of IP addresses this license may bind to. Overrides the product-level default. Set to
null for unlimited.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
Returns a single license record including its current bound IPs, HWIDs, and validation history. Responds with404 Not Found if the license does not exist.
Update a License
Performs a full replacement of the license record. You must include all fields you want to retain. Returns404 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
Permanently removes the license record. Returns204 No Content on success and 404 Not Found if the ID does not exist.
