UiPath Documentation
uipath-cli
latest
false
UiPath-CLI-Benutzerhandbuch
Wichtig :
Dieser Inhalt wurde maschinell übersetzt. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

uip admin robot-accounts

Syntax and options for `uip admin robot-accounts`, `uip admin pat`, and `uip admin scopes` — non-human identities, personal access tokens, and the OAuth2 scope reference.

Three related, independent command groups: robot-accounts (non-human directory identities used for unattended automation), pat (personal access tokens for API authentication), and scopes (a read-only reference of every OAuth2 scope available to external apps and PATs).

Zusammenfassung

uip admin robot-accounts list [--search <term>] [--sort-by <field>] [--sort-order asc|desc] [--limit <n>] [--offset <n>]
uip admin robot-accounts get <robot-account-id>
uip admin robot-accounts create <name> [--display-name <name>]
uip admin robot-accounts update <robot-account-id> --display-name <name>
uip admin robot-accounts delete <robot-account-id>

uip admin pat list [--scope all] [--search <term>] [--limit <n>] [--offset <n>]
uip admin pat create --description <text> --expiration <date> --scope <scopes>
uip admin pat revoke <id>
uip admin pat regenerate <id> --expiration <date>

uip admin scopes list
uip admin robot-accounts list [--search <term>] [--sort-by <field>] [--sort-order asc|desc] [--limit <n>] [--offset <n>]
uip admin robot-accounts get <robot-account-id>
uip admin robot-accounts create <name> [--display-name <name>]
uip admin robot-accounts update <robot-account-id> --display-name <name>
uip admin robot-accounts delete <robot-account-id>

uip admin pat list [--scope all] [--search <term>] [--limit <n>] [--offset <n>]
uip admin pat create --description <text> --expiration <date> --scope <scopes>
uip admin pat revoke <id>
uip admin pat regenerate <id> --expiration <date>

uip admin scopes list

Verben

„Gruppieren“ (Group)VerbZweck
robot-accountslistList robot accounts in the partition.
robot-accountsgetGet a robot account's details by ID.
robot-accountscreateCreate a new robot account.
robot-accountsupdateUpdate a robot account's display name.
robot-accountsdeleteDelete a robot account by ID.
patlistList personal access tokens (yours, or the org's with --scope all).
patcreateCreate a new personal access token.
patrevokeRevoke a token.
patregenerateRegenerate a token with a new expiration.
scopeslistList every OAuth2 scope available, grouped by resource.

uip admin robot-accounts list

List robot accounts in the partition. Returns account ID, name, display name, and creation time.

Optionen

LongShortWertStandardBeschreibung
--search <term>-sstringSearch by name.
--sort-by <field>stringSort field, e.g. Name.
--sort-order <direction>asc|descascSort direction.
--limit <number>-lInteger50Number of items to return.
--offset <number>Integer0Number of items to skip.

Beispiel

uip admin robot-accounts list --limit 5
uip admin robot-accounts list --limit 5

Datenform (--output json)

{
  "Code": "RobotAccountList",
  "Data": [
    { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "automation-bot", "displayName": "Automation Bot", "creationTime": "2026-01-15T10:00:00.000Z" }
  ]
}
{
  "Code": "RobotAccountList",
  "Data": [
    { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "automation-bot", "displayName": "Automation Bot", "creationTime": "2026-01-15T10:00:00.000Z" }
  ]
}

uip admin robot-accounts get

Get robot account details by ID.

Argumente

NameErforderlichZweck
<robot-account-id>jaRobot account ID (UUID).

Beispiel

uip admin robot-accounts get a1b2c3d4-0000-0000-0000-000000000001
uip admin robot-accounts get a1b2c3d4-0000-0000-0000-000000000001

Datenform (--output json)

{ "Code": "RobotAccountDetails", "Data": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "automation-bot", "displayName": "Automation Bot", "creationTime": "2026-01-15T10:00:00.000Z", "groupIds": [] } }
{ "Code": "RobotAccountDetails", "Data": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "automation-bot", "displayName": "Automation Bot", "creationTime": "2026-01-15T10:00:00.000Z", "groupIds": [] } }

uip admin robot-accounts create

Create a new robot account in the partition.

Argumente

NameErforderlichZweck
<name>jaRobot account name.

Optionen

LongWertBeschreibung
--display-name <name>stringDisplay name. Defaults to <name> when omitted.

Beispiel

uip admin robot-accounts create "automation-bot" --display-name "Automation Bot"
uip admin robot-accounts create "automation-bot" --display-name "Automation Bot"

Datenform (--output json)

{ "Code": "RobotAccountCreated", "Data": { "id": "a1b2c3d4-0000-0000-0000-000000000002", "name": "automation-bot", "displayName": "Automation Bot" } }
{ "Code": "RobotAccountCreated", "Data": { "id": "a1b2c3d4-0000-0000-0000-000000000002", "name": "automation-bot", "displayName": "Automation Bot" } }

uip admin robot-accounts update

Update a robot account's display name. --display-name is the only field and is effectively required — omitting it fails client-side ("No fields to update").

Argumente

NameErforderlichZweck
<robot-account-id>jaRobot account ID (UUID).

Optionen

LongWertErforderlichBeschreibung
--display-name <name>stringjaNeuer Anzeigename.

Beispiel

uip admin robot-accounts update a1b2c3d4-0000-0000-0000-000000000001 --display-name "Updated Bot"
uip admin robot-accounts update a1b2c3d4-0000-0000-0000-000000000001 --display-name "Updated Bot"

Datenform (--output json)

{ "Code": "RobotAccountUpdated" }
{ "Code": "RobotAccountUpdated" }

uip admin robot-accounts delete

Delete a robot account by ID.

Argumente

NameErforderlichZweck
<robot-account-id>jaRobot account ID (UUID).

Beispiel

uip admin robot-accounts delete a1b2c3d4-0000-0000-0000-000000000001
uip admin robot-accounts delete a1b2c3d4-0000-0000-0000-000000000001

Datenform (--output json)

{ "Code": "RobotAccountDeleted", "Data": { "Id": "a1b2c3d4-0000-0000-0000-000000000001", "Status": "Deleted successfully" } }
{ "Code": "RobotAccountDeleted", "Data": { "Id": "a1b2c3d4-0000-0000-0000-000000000001", "Status": "Deleted successfully" } }

uip admin pat list

List personal access tokens. By default lists only your own; --scope all (admin-only) lists every token in the organization.

Optionen

LongWertBeschreibung
--scope <scope>allOnly "all" is accepted — any other value fails client-side with an explicit error. Omit to list only your own tokens.
--search <term>stringFilter by user search term. Implies --scope all even if --scope isn't passed.
--limit <number> (-l)IntegerDefault 50. Number of items to return.
--offset <number>IntegerDefault 0. Number of items to skip.

Beispiel

uip admin pat list
uip admin pat list

Datenform (--output json)

{
  "Code": "PatList",
  "Data": [
    { "id": "a1b2c3d4-0000-0000-0000-000000000001", "description": "CI/CD token", "expiration": "2027-01-15T00:00:00.000Z", "scopes": ["OR.Folders.Read"] }
  ]
}
{
  "Code": "PatList",
  "Data": [
    { "id": "a1b2c3d4-0000-0000-0000-000000000001", "description": "CI/CD token", "expiration": "2027-01-15T00:00:00.000Z", "scopes": ["OR.Folders.Read"] }
  ]
}

uip admin pat create

Create a new personal access token. The token value is returned only once — it is not retrievable later.

Optionen

LongWertErforderlichBeschreibung
--description <text>stringjaDescription for the token.
--expiration <date>YYYY-MM-DDjaExpiration date. Strictly validated — rejects malformed dates and calendar rollovers (e.g. 2027-02-30).
--scope <scopes>comma-separatedjaOne or more scopes, e.g. OR.Folders.Read,OR.Jobs.Read. See scopes list for the full catalog.

Beispiel

uip admin pat create --description "CI/CD token" --expiration 2027-01-15 --scope "OR.Folders.Read,OR.Jobs.Read"
uip admin pat create --description "CI/CD token" --expiration 2027-01-15 --scope "OR.Folders.Read,OR.Jobs.Read"

Datenform (--output json)

{ "Code": "PatCreated", "Data": { "Token": "...", "Warning": "Save this token now. It will not be shown again." } }
{ "Code": "PatCreated", "Data": { "Token": "...", "Warning": "Save this token now. It will not be shown again." } }

uip admin pat revoke

Revoke a personal access token.

Argumente

NameErforderlichZweck
<id>jaToken ID (UUID). Find it with pat list.

Beispiel

uip admin pat revoke a1b2c3d4-0000-0000-0000-000000000001
uip admin pat revoke a1b2c3d4-0000-0000-0000-000000000001

Datenform (--output json)

{ "Code": "PatRevoked", "Data": { "Id": "a1b2c3d4-0000-0000-0000-000000000001", "Status": "Revoked successfully" } }
{ "Code": "PatRevoked", "Data": { "Id": "a1b2c3d4-0000-0000-0000-000000000001", "Status": "Revoked successfully" } }

uip admin pat regenerate

Regenerate a personal access token with a new expiration. Like create, the new token value is shown only once.

Argumente

NameErforderlichZweck
<id>jaToken ID (UUID).

Optionen

LongWertErforderlichBeschreibung
--expiration <date>YYYY-MM-DDjaNew expiration date. Same strict validation as create.

Beispiel

uip admin pat regenerate a1b2c3d4-0000-0000-0000-000000000001 --expiration 2028-01-15
uip admin pat regenerate a1b2c3d4-0000-0000-0000-000000000001 --expiration 2028-01-15

Datenform (--output json)

{ "Code": "PatRegenerated", "Data": { "Id": "a1b2c3d4-0000-0000-0000-000000000001", "Token": "...", "Warning": "Save this token now. It will not be shown again." } }
{ "Code": "PatRegenerated", "Data": { "Id": "a1b2c3d4-0000-0000-0000-000000000001", "Token": "...", "Warning": "Save this token now. It will not be shown again." } }

uip admin scopes list

List every OAuth2 scope available for external apps and personal access tokens, grouped by resource. Read-only, no options beyond global ones.

Beispiel

uip admin scopes list
uip admin scopes list

Datenform (--output json)

{
  "Code": "ScopesList",
  "Data": [
    {
      "name": "UiPath.Orchestrator",
      "displayName": "Orchestrator API Access",
      "scopes": [
        { "name": "OR.Folders", "displayName": "OR.Folders", "type": "user" }
      ]
    }
  ]
}
{
  "Code": "ScopesList",
  "Data": [
    {
      "name": "UiPath.Orchestrator",
      "displayName": "Orchestrator API Access",
      "scopes": [
        { "name": "OR.Folders", "displayName": "OR.Folders", "type": "user" }
      ]
    }
  ]
}

type on each scope entry is "user" (delegated, requires a signed-in user) or "application" (app-only) — the same distinction external-apps create's --user-scope/--app-scope flags and pat create's --scope flag draw from.

Siehe auch

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben