Skip to main content
This method will add a new Data Object to either a license key, product, or your entire account. Please read more about access tokens in Remarks. This method is accessed in several ways. Each way works in the same way and requires the same permission. The only difference is the type of parameters. Both cases are listed below:

Parameters

Method 1 (general): https://api.cryptolens.io/api/data/AddDataObject Method 2 (key specific): https://api.cryptolens.io/api/data/AddDataObjectToKey Method 3 (machine code specific): https://api.cryptolens.io/api/data/AddDataObjectToMachineCode

Results

Example results

Remarks

  • When accessing the key specific methods (using productId and the key string), you need to either disable key lock (set it to zero) or set it to a negative number, in the same way you would have done if you would have used KeyLock. We recommend to set the KeyLock to -1 when creating the access token.

Errors