Product License REST API - v2
NEW IN RELEASE 114
The product license REST API allows you to:
POST to Install a Product License
To install a product license, a System Administrator can issue a POST request to the following path:
POST /api/v2/product/license
The POST request must use the multipart/form-data
content-type and must have one name/value pair with "file" as the name and the product license as the value.
For example, using a local installation of IQ Server with its default configuration and assuming the product license is located at /some/path/license.lic
, a request using the cURL tool would be:
curl -u admin:admin123 -F file="@/some/path/license.lic" http://localhost:8070/api/v2/product/license
Note that the "@" symbol is required.
DELETE to Uninstall a Product License
To uninstall a product license, a System Administrator can issue a DELETE request to the following path:
DELETE /api/v2/product/license
For example, using a local installation of IQ Server with its default configuration, a request using the cURL tool would be:
curl -u admin:admin123 -X DELETE http://localhost:8070/api/v2/product/license