Skip to main content

Product License REST API

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