Transfer a License Code

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

Transfer a License Code POST /api

This API method returns a JSON object containing the license information about the Iguana you've transferred the license to.

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.UpdateActivationInfo

description

Provide a description to pair with the license.

<ex. Prod for XYZ>

activationid

The Activation ID of the Iguana you're transferring the license from Get List of Activated Licenses

<activationID>

instanceid

The Iguana ID of the instance that you want to apply the license to. Retrieved from Programmatically get an Iguana ID

<IguanaID>

Sample Request:

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

NewLicenseCode=`curl -k -X POST "https://my.interfaceware.com/api?method=license.UpdateActivationInfo&product=IguanaX&token=<IguanaToken>&description=<NewIguanaX>&activationid=<activationID>&instance_id=<newIguanaID>" | jq -r '.data.code'`

Response:

{ "data": { "log_search": "60", "num_components": "50", "description": "New IguanaX", "code": "E33F6E672A5239A200F300SDSF23FF6E673C596E1322DC83379C3F63DC0446", "license_type": "IguanaX Test", "country": "", "license_expiry": "2025-08-13 16:04:10", "date_modified": "2024-08-13 18:57:29", "state": "", "site": "", "city": "", "date_issued": "2024-08-13 16:04:10", "last_modified_by": "Admin", "tracking_id": "", "activation_id": "210", "instance_id": "THSWPRHMUXTT7MRR" }, "status": "ok" }