Creating Licenses
Creating a license
A license inherits all it's properties from the default license template attached to its product. But you may way want to override some properties like allowedActivations
, validity
, add some metadata
etc. You can check out all the properties on the web API reference page.
You can also override the default license template by providing the licenseTemplateId
at the time of creating a license.
Following is a sample request which you will usually make to create a license:
Creating License
POST
https://api.cryptlex.com/v3/licenses
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer access token. |
Request Body
Name | Type | Description |
---|---|---|
validity | number | The duration after which the license will expire. |
allowedActivations | number | Allowed number of activations for the license. |
userId | string | Unique identifier for the user. |
productId | string | Unique identifier for the product. |
Last updated