UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

uip or licenses

Syntax and options for `uip or licenses`, which inspects and manages Orchestrator license allocation for runtimes and named users.

uip or licenses inspects and manages Orchestrator license allocation. List runtime and named-user license assignments, toggle machine licensing on or off, and view the overall tenant license summary (allowed vs used per robot type).

Synopsis

uip or licenses <verb> [options]
uip or licenses <verb> [options]

Verbs

VerbPurpose
listList license assignments for a given robot type (runtime or named-user).
toggleEnable or disable machine licensing for a specific runtime robot type.
infoShow the tenant license summary (subscription plan, allowed/used, features).

Robot type reference

The --type flag accepts these robot types. The command behavior splits into two buckets:

  • Runtime types — machine-level allocation: Unattended, NonProduction, Headless, TestAutomation.
  • Named-user types — user-level allocation: Attended, Development, Studio, StudioX, RpaDeveloper, CitizenDeveloper.

licenses list accepts both buckets; licenses toggle accepts only runtime types.

uip or licenses list

List license assignments for a given robot type.

  • For runtime types, each row is a machine with a connected robot; MachineName, MachineType, Runtimes, IsOnline, IsLicensed, and Enabled are returned.
  • For named-user types, each row is a user; UserName, LastLoginDate, MachinesCount, IsLicensed, and MachineNames are returned.

Options

ShortLongValueDefaultDescription
--typeenumrequiredRobot type (see list above).
--licensedflagoffOnly licensed entries. Mutually exclusive with --unlicensed.
--unlicensedflagoffOnly unlicensed entries. Mutually exclusive with --licensed.
-l--limitnumber50Page size.
--offsetnumber0Skip count.
--sort-byfieldOData sort (for example, MachineName desc).

Examples

uip or licenses list --type Unattended --limit 50
uip or licenses list --type Attended --unlicensed
uip or licenses list --type Unattended \
    --output-filter 'Data[?IsOnline].MachineName'
uip or licenses list --type Unattended --limit 50
uip or licenses list --type Attended --unlicensed
uip or licenses list --type Unattended \
    --output-filter 'Data[?IsOnline].MachineName'

Data shape (--output json)

Runtime type:

{
  "Code": "LicenseList",
  "Data": [
    {
      "Key": "a1b2c3d4-0000-0000-0000-000000000001",
      "MachineName": "prod-worker-01",
      "MachineType": "Standard",
      "Runtimes": 3,
      "IsOnline": true,
      "IsLicensed": true,
      "Enabled": true
    }
  ]
}
{
  "Code": "LicenseList",
  "Data": [
    {
      "Key": "a1b2c3d4-0000-0000-0000-000000000001",
      "MachineName": "prod-worker-01",
      "MachineType": "Standard",
      "Runtimes": 3,
      "IsOnline": true,
      "IsLicensed": true,
      "Enabled": true
    }
  ]
}

Named-user type:

{
  "Code": "LicenseList",
  "Data": [
    {
      "Key": "d4e5f6a7-0000-0000-0000-000000000001",
      "UserName": "dev@example.com",
      "LastLoginDate": "2025-04-15T10:30:00Z",
      "MachinesCount": 2,
      "IsLicensed": true,
      "MachineNames": ["studio-01", "studio-02"]
    }
  ]
}
{
  "Code": "LicenseList",
  "Data": [
    {
      "Key": "d4e5f6a7-0000-0000-0000-000000000001",
      "UserName": "dev@example.com",
      "LastLoginDate": "2025-04-15T10:30:00Z",
      "MachinesCount": 2,
      "IsLicensed": true,
      "MachineNames": ["studio-01", "studio-02"]
    }
  ]
}

uip or licenses toggle

Enable or disable machine licensing for a specific runtime robot type. Named-user types are rejected. Accepts a machine key (GUID) — internally resolved to a machine name before calling the API.

Exactly one of --enable or --disable must be provided.

Arguments

NameRequiredPurpose
<machine-key>yesMachine key (GUID). Find it with machines list.

Options

ShortLongValueDefaultDescription
--typeenumrequiredRuntime robot type only: Unattended, NonProduction, Headless, TestAutomation.
--enableflagEnable licensing.
--disableflagDisable licensing.

Examples

uip or licenses toggle a1b2c3d4-0000-0000-0000-000000000001 \
    --type Unattended --enable

uip or licenses toggle a1b2c3d4-0000-0000-0000-000000000001 \
    --type NonProduction --disable

uip or licenses toggle a1b2c3d4-0000-0000-0000-000000000001 \
    --type Unattended --enable --output-filter 'Data.Status'
uip or licenses toggle a1b2c3d4-0000-0000-0000-000000000001 \
    --type Unattended --enable

uip or licenses toggle a1b2c3d4-0000-0000-0000-000000000001 \
    --type NonProduction --disable

uip or licenses toggle a1b2c3d4-0000-0000-0000-000000000001 \
    --type Unattended --enable --output-filter 'Data.Status'

Data shape (--output json)

{
  "Code": "LicenseToggle",
  "Data": {
    "MachineKey": "a1b2c3d4-0000-0000-0000-000000000001",
    "MachineName": "prod-worker-01",
    "RobotType": "Unattended",
    "Enabled": true,
    "Status": "Licensing enabled"
  }
}
{
  "Code": "LicenseToggle",
  "Data": {
    "MachineKey": "a1b2c3d4-0000-0000-0000-000000000001",
    "MachineName": "prod-worker-01",
    "RobotType": "Unattended",
    "Enabled": true,
    "Status": "Licensing enabled"
  }
}

uip or licenses info

Show the tenant license summary: subscription plan, allowed vs used counts per robot type, expiration status, and licensed features. Use this to check overall capacity before allocating.

Options

ShortLongValueDefaultDescription

Examples

uip or licenses info
uip or licenses info --output-filter 'Data.Used'
uip or licenses info --output table
uip or licenses info
uip or licenses info --output-filter 'Data.Used'
uip or licenses info --output table

Data shape (--output json)

{
  "Code": "LicenseInfo",
  "Data": {
    "IsExpired": false,
    "SubscriptionPlan": "Enterprise",
    "Allowed": { "Unattended": 10, "Attended": 20 },
    "Used": { "Unattended": 4, "Attended": 7 },
    "LicensedFeatures": ["AISuite", "TestManager"]
  }
}
{
  "Code": "LicenseInfo",
  "Data": {
    "IsExpired": false,
    "SubscriptionPlan": "Enterprise",
    "Allowed": { "Unattended": 10, "Attended": 20 },
    "Used": { "Unattended": 4, "Attended": 7 },
    "LicensedFeatures": ["AISuite", "TestManager"]
  }
}

Exit codes

See Exit codes. No verb-specific overrides.

See also

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated