Block Key
Please log in to get a personalized configuration!
This method will block a specific license key to ensure that the key cannot be accessible by most of the methods in the Web API (activation, validation, optional field, and deactivation). Note, blocking the key will still allow you to access the key in Web API 3, unless otherwise stated for a given Web API 3 method. To do the reverse, please see Unblock Key.
This method is accessed by https://api.cryptolens.io/api/key/BlockKey
Parameters
Parameter | Description | Remarks |
ProductId | the product id | required |
Key | the serial key string | required |
v | Method version. | optional. by default, it's 1. |
Results
Parameter | Description | Remarks |
Result | This is either 0(=success) or 1(=error). | always returned |
Message | The message that provides additional information about the result. If it's a successful result, either Changed or Not changed will be returned (i.e. if the key was already blocked, Not changed is returned.) Otherwise, in case of an error, a short message will be returned describing the error. | always returned. |
Example results
{"result":0,"message":""}
Errors
Error |
Access denied. |
The input parameters were incorrect. |
Could not find the product. |
Could not find the key. |