Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Members Account Licensing API base URL: https://my.interfaceware.com

Register your Iguana ID to Activate a License Code POST /api

This API method returns a JSON object containing the license description and activated license code.

Parameters:

Parameter

Description

Value (as a string)

product

The product you want to license.

IguanaX

token

Your authentication token.

Retrieved from Get an Authentication Token

method

The API method name.

license.activate

description

Provide a description to pair with the license.

Example: Prod for XYZ

entitlementid

The ID of the license you want to activate.

Retrieved from Get List of Entitlements (License Types)

instanceid

The Iguana ID of the instance that you want to apply the license to.

Retrieved from Programmatically get an Iguana ID

Sample Request:

Curl request calling the license API and parsing the license code from the response:

IguanaLicenseCode=`curl -k -X POST "https://my.interfaceware.com/api?method=license.activate&product=IguanaX&token=<IguanaToken>&description=IguanaLicense&entitlementid=<EntitlementID>&instanceid=<IguanaID>" | jq -r '.data.code'`

Response:

{
    "data": {
        "description": "Test",
        "code": "4492A1B5CDA25D79DFCC5DC3GHS4448B9D8A3CCC98",
        "license_expiry": "2025-08-13",
        "name": "IguanaX Test",
        "instanceid": "THSWPRHMUXTT7MRR",
        "log_search": 365,
        "num_components": 50
    },
    "status": "ok"
  • No labels