3.7 License
Getting current settings
Get the current license settings.
URL: | https://{{ip_addr}}/api/v1/license |
HTTP method: | GET |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | { "data": { "features": { "isAppInstalationAllowed": true, "isHttpApiAllowed": true, "isStockLauncherAllowed": false }, "key": "EJF3A-7SGBQ-UTGYC-VWV38-MKPGG", "remainingHours": 0, "state": 2 } } |
Section setting
URL: | https://{{ip_addr}}/api/v1/license |
HTTP method: | POST |
Response code: | Standard HTTP response code, treating syntactic errors.
|
Request body: | { "key": "<string>", "remainingHours": "<integer>", "state": "<integer>", "features": { "isHttpApiAllowed": "<boolean>", "isStockLauncherAllowed": "<boolean>", "isAppInstalationAllowed": "<boolean>" } } |
Response data: |
{ "data": { "features": { "isAppInstalationAllowed": true, "isHttpApiAllowed": true, "isStockLauncherAllowed": false }, "key": "EJF3A-7SGBQ-UTGYC-VWV38-MKPGG", "remainingHours": 0, "state": 2 } } |