Skip to main content

Machine Activation and Deactivation for Designer (API)

Use the Machine Activation API to activate or deactivate Designer on up to 100 offline machines in one request. This API is intended for air-gapped environments and large deployments where activating each machine individually is inefficient.

To view Alteryx One activations or deactivate one or more activation records in the Account Admin Console, use the Managed Machines page. Use the Machine Activation API when you need to activate or deactivate up to 100 offline Designer machines in one request.

The API updates licensing records in Alteryx One:

  • For activation, the API generates a machine-specific activation token. Designer isn’t activated until you save the token as an activation file and apply it to the target machine.

  • For deactivation, the API releases the activation in Alteryx One. Because the target machine is offline, Alteryx One can’t remove or invalidate the token already stored on that machine.

The API currently supports Designer only. It doesn’t support bulk activation or deactivation of Server.

If you need to activate only 1 machine, use the appropriate manual process:

For Server licensed through Alteryx One, use the single-machine offline activation process. If your organization licenses Server through Alteryx License Server, follow the Alteryx License Server documentation.

Nota

The Machine Activation API supports only Designer activations managed through Alteryx One. It does not activate or deactivate key-based licenses managed through the legacy Licensing Portal or Alteryx License Server (ALS).

Attenzione

Bulk activation and deactivation take effect immediately in your live Alteryx One environment. Test with a small batch of non-critical machines before running this against your full fleet.

Before You Begin

You need:

  • An OAuth 2.0 API token whose owner has the Licensing capability. The Account Admin role includes this capability by default. For information about generating a token, go to OAuth 2.0 API Tokens Page for Users.

  • A secure method to store the OAuth token and transfer generated activation files. Treat both as sensitive credentials.

  • The exact machine ID of every machine you want to activate or deactivate.

The OAuth token belongs to a user and is limited by that user’s permissions.

For each machine you want to activate, you also need:

  • The email address of the user who will use Designer on that machine.

  • A user who already exists in the target workspace and has the Designer capability. The Basic User and Full User roles include this capability. A custom role can also include it.

  • The target workspace that each activated machine-user pair should be associated with.

A user can have only 1 active Designer machine at a time. If the user already has an active Designer installation on another machine, deactivate the existing installation before you activate the new one.

Get the Machine IDs

Alteryx One licenses Designer for a specific user on a specific machine. Each offline activation token is tied to the machine ID you provide and can’t be used on another device.

A machine ID combines 2 values that are already present on the machine:

<Windows MachineGuid>-<physical NetBIOS hostname>

Include the dash between the 2 values.

The MachineGuid is a per-machine identifier that Windows generates during installation. Read it from this registry location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid

The physical NetBIOS hostname is the machine’s computer name, as returned by the Windows API GetComputerNameEx. On physical machines and most virtual machines, this value is the same as the %COMPUTERNAME% environment variable and PowerShell $env:COMPUTERNAME.

For example, a MachineGuid of 7f3a91d2-4c68-47b5-ae10-63d8f29c04e7 on a machine named SURFACE7 produces this machine ID:

7f3a91d2-4c68-47b5-ae10-63d8f29c04e7-SURFACE7

To collect the machine ID across a fleet, run this PowerShell command on each machine, for example, as part of your imaging or provisioning process:

$machineGuid = (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Cryptography' -Name MachineGuid).MachineGuid
$machineId = "$machineGuid-$env:COMPUTERNAME"
$machineId

Collect one machine ID per machine before moving on to the next step.

Create an Activation Token for Each Machine

  1. Choose the target workspace and the Designer version to record for the batch. A single workspace and recorded version apply to every machine in the request. The recorded version is used for licensing analytics and does not restrict which Designer versions can use the resulting activation tokens. Then, for each machine, gather its machine ID and the email address of its user.

  2. Send a POST request to /billing/v1/licensing/bulkOfflineActivate with your API token and the machine list. You can include up to 100 machines in a single request, but all machines in one request must belong to the same workspace. For example:

    {
      "workspaceName": "acme-prod",
      "designerVersion": "2026.1",
      "machinesToActivate": [
        { "machineId": "WKS-04821", "userEmail": "jordan@acme.com" }
      ]
    }

    To learn more, see POST /billing /v1 /licensing /bulkOfflineActivate.

  3. Review the response. Alteryx One returns a result for every machine you submitted:

    • Successful activations appear under activatedMachines and include an activation token.

    • Errors appear under machineActivationErrors. Resolve the errors, then resubmit those machines.

Each bulk activation request generates a BULK_ACTIVATE_OFFLINE_LICENSES audit event that records who initiated the operation, when it occurred, and which machine activations succeeded or failed.

Apply the Activation Token

For each machine returned in activatedMachines:

  1. Wrap the licensingToken value in a JSON object with a jwt key, and save that as a .bin file (for example <machineId>.bin):

    { "jwt": "<licensingToken value>" }
  2. Transfer the file to the target offline machine using your normal deployment or imaging process.

  3. On the offline machine, either:

    • Open Designer and use the Activate dialog to point to the file, or

    • Use the AlteryxCloudLicensing CLI to activate using the file if you're also scripting the machine side.

      AlteryxCloudLicensing.exe activate --file <machineId>.bin --product designer

Deactivate Machines Offline in Bulk

  1. Gather the machine ID for each machine you want to deactivate. Unlike activation, you don't need a workspace name. Machines from different workspaces can be deactivated in the same request, as long as they're all in your billing account.

  2. Send a POST request to /billing/v1/licensing/bulkOfflineDeactivate with your API token and the machine list. You can include up to 100 machines in a single request. For example:

    {
      "machinesToDeactivate": [
        { "machineId": "WKS-04821" }
      ]
    }
  3. Review the response. Alteryx One returns a result for every machine you submitted:

    • Successful deactivations appear under deactivatedMachines.

    • Errors appear under machineDeactivationErrors. Resolve the errors, then resubmit those machines.

To learn more, see POST /billing /v1 /licensing /bulkOfflineDeactivate.

Each bulk deactivation request generates a BULK_DEACTIVATE_OFFLINE_LICENSES audit event that records who initiated the operation, when it occurred, and which machine deactivations succeeded or failed.

Avvertimento

Deactivating a machine through this API marks the license as deactivated only in Alteryx One. Because the machine is offline, Alteryx One can’t confirm that the machine received the change or invalidate the token stored on that machine.

The machine might continue to work until its local license expires. Deactivate a machine only when you’re confident that it’s no longer in use, for example, because it was retired, wiped, or lost. Continuing to use it afterward might violate Alteryx's Terms of Service.