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

Version 1 Current »

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:

  • product: The product you want licenses for - IguanaX. string

  • token: Your authentication token. string (from Get an Authentication Token)

  • method: The API method license.UpdateActivationInfo. string

  • description: A description to pair with the license (test, prod, etc.) string

  • activationid: The Activation ID of the Iguana you're transferring the license from. string (from Get List of Activated Licenses)

  • instance_id: The Iguana ID of the instance that you want to transfer the license to. string (from Programmatically obtain an Iguana ID)

Sample curl command 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"
}
  • No labels