UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

最終更新日時 2026年5月7日

uip or licenses

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

Verb目的
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.

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnamesession defaultOverride the tenant.
--typeENUM必須Robot type (see list above).
--licensedflagoffOnly licensed entries. Mutually exclusive with --unlicensed.
--unlicensedflagoffOnly unlicensed entries. Mutually exclusive with --licensed.
-l--limitNumber50Page size.
--offsetNumber0Skip count.
--order-byフィールドOData sort (for example, MachineName desc).

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.

引数

名前Required目的
<machine-key>Machine key (GUID). Find it with machines list.

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnamesession defaultOverride the tenant.
--typeENUM必須Runtime robot type only: Unattended, NonProduction, Headless, TestAutomation.
--enableflagEnable licensing.
--disableflagDisable licensing.

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.

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnamesession defaultOverride the tenant.

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"]
  }
}

終了コード

See Exit codes. No verb-specific overrides.

参照

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得