Get List of Activated Licenses

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

Get List of Activated Iguana Licenses POST /api

This API method returns a JSON object containing all of the licenses activated under a particular entitlement ID (license type). This is useful in the license transfer process when choosing which Iguana ID to transfer a license from, to a new Iguana instance.

Parameters:

Parameter

Description

Value (as a string)

Parameter

Description

Value (as a string)

product

The product you want to license.

IguanaX

token

Your authentication token from Get an Authentication Token

<token>

method

The API method name.

license.listActivations

entitlementid

The ID of the license you want to activate. Retrieved from Get List of Entitlements (License Types)

<entitlementID>

Sample Request:

Curl request calling the API and parsing the response activation id of a specific Iguana ID (from Programmatically get an Iguana ID) you want to transfer the license from:

IguanaActivationID=`curl -k -X POST "https://my.interfaceware.com/api?method=license.listActivations&product=IguanaX&token=<IguanaToken>&entitlementid=<EntitlementID>" | jq -r --arg instanceId "$OldIguanaID" '.data[] | select(.instance_id == $instanceId) | .activation_id'`

Response:

{ "data": [ { "log_search": "60", "num_components": "50", "description": "Test", "code": "SGJKLGDSLMHKEM93493DSFDS9349019A63B5A04A44290E42BBE452D508", "license_type": "IguanaX Test", "country": "", "license_expiry": "2025-03-06 21:26:00", "date_modified": "2024-03-06 21:26:00", "state": "", "site": "", "city": "", "date_issued": "2024-03-06 00:00:00", "last_modified_by": "Admin", "tracking_id": "", "activation_id": "34", "instance_id": "AJ5K8QPHHPNNSLLC" }, { "log_search": "60", "num_components": "50", "description": "Old Iguana Instance", "code": "3D83F6E6753820DCC509A6F75849B488SFSKJG3086B2D7AAEBF5D0E67D", "license_type": "IguanaX Test", "country": "", "license_expiry": "2025-08-13 16:04:10", "date_modified": "2024-08-13 16:04:10", "state": "", "site": "", "city": "", "date_issued": "2024-08-13 16:04:10", "last_modified_by": "Admin", "tracking_id": "", "activation_id": "210", "instance_id": "RPQC9TYWFHPGEDGT" } ], "status": "ok" }