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 ah categories, tags, collaborators, roles, users

Syntax and options for the Automation Hub category taxonomy, free-text tags, per-automation collaborators, the assignable role catalogue, and user accounts.

Categories are a hierarchical taxonomy automations are placed in; tags are free-text labels. Collaborators are the people working on one automation, each holding one or more roles — Automation Hub's assignable-role catalogue is also how uip ah users create grants tenant-wide access. See uip ah for shared concepts (projection/--all-fields, paged vs. unpaged lists) that apply to every verb here.

uip ah categories

Read the category hierarchy and place automations in it.

Zusammenfassung

uip ah categories get [--all-fields]
uip ah categories update --file <json-file> [-y, --yes]
uip ah categories set <automation-id> --category-id <id>
uip ah categories get [--all-fields]
uip ah categories update --file <json-file> [-y, --yes]
uip ah categories set <automation-id> --category-id <id>

uip ah categories get

Get the category hierarchy as one tree, with its level names. get, not list: the endpoint returns one nested document, not a paged collection — there's no --limit/--offset.

Optionen
LongBeschreibung
--all-fieldsReturn the raw payload instead of Levels/Categories.
Beispiel
uip ah categories get
uip ah categories get
Datenform (--output json)
{
  "Code": "AhCategoriesGet",
  "Data": { "Levels": [{ "Id": 1, "Name": "Business Unit" }], "Categories": [{ "Id": 4, "Name": "Finance" }] }
}
{
  "Code": "AhCategoriesGet",
  "Data": { "Levels": [{ "Id": 1, "Name": "Business Unit" }], "Categories": [{ "Id": 4, "Name": "Finance" }] }
}

uip ah categories update

Replace the whole category tree from a file. Automation Hub has no per-category create/delete — the tree is synced as one document.

Optionen
LongWertErforderlichBeschreibung
--file <json-file>PfadjaJSON with the full category tree to sync, in the shape categories get returns.
-y, --yesMarkierenjaConfirm this replaces the entire tenant category tree. Required — the CLI never prompts.

An empty or clearly-malformed file is rejected client-side before the request is sent.

Beispiel
uip ah categories update --file ./categories.json --yes
uip ah categories update --file ./categories.json --yes
Datenform (--output json)
{ "Code": "AhCategoriesUpdate", "Data": { "Status": "Synced" } }
{ "Code": "AhCategoriesUpdate", "Data": { "Status": "Synced" } }

uip ah categories set

Assign one automation to a category.

Argumente
NameErforderlichZweck
<automation-id>jaAutomation id.
Optionen
LongWertErforderlichBeschreibung
--category-id <id>IntegerjaCategory id to assign.
Beispiel
uip ah categories set 20 --category-id 4
uip ah categories set 20 --category-id 4
Datenform (--output json)
{ "Code": "AhCategoriesSet", "Data": { "AutomationId": 20, "CategoryId": 4 } }
{ "Code": "AhCategoriesSet", "Data": { "AutomationId": 20, "CategoryId": 4 } }

uip ah tags

Set the tags on an automation.

uip ah tags set

Replace an automation's tags with the given set — this replaces the whole tag list rather than merging (matching uip config set's replace semantics).

Argumente
NameErforderlichZweck
<automation-id>jaAutomation id.
Optionen
LongWertErforderlichBeschreibung
--tags <tag...>repeatablejaThe complete tag set for this automation.
Beispiel
uip ah tags set 20 --tags finance "quick win"
uip ah tags set 20 --tags finance "quick win"
Datenform (--output json)
{ "Code": "AhTagsSet", "Data": { "AutomationId": 20, "Tags": ["finance", "quick win"] } }
{ "Code": "AhTagsSet", "Data": { "AutomationId": 20, "Tags": ["finance", "quick win"] } }

uip ah collaborators

Manage who collaborates on an automation. Its own resource group rather than a verb on automations, so the standard CRUD verbs stay available for it.

Zusammenfassung

uip ah collaborators list --automation-id <id> [--limit <n>] [--offset <n>] [--all-fields]
uip ah collaborators create <automation-id> --user-id <id...> --role-id <id...>
uip ah collaborators delete <automation-id> --user-id <id...> --role-id <id...> [-y, --yes]
uip ah collaborators list --automation-id <id> [--limit <n>] [--offset <n>] [--all-fields]
uip ah collaborators create <automation-id> --user-id <id...> --role-id <id...>
uip ah collaborators delete <automation-id> --user-id <id...> --role-id <id...> [-y, --yes]

uip ah collaborators list

Optionen
LongWertErforderlichBeschreibung
--automation-id <id>IntegerjaAutomation to read (a query parameter on this endpoint, not a positional).
--limit <n> / --offset <n>IntegerneinPaging, applied client-side (unpaged endpoint).
--all-fieldsMarkierenneinReturn the raw payload.
Beispiel
uip ah collaborators list --automation-id 20
uip ah collaborators list --automation-id 20
Datenform (--output json)
{
  "Code": "AhCollaboratorsList",
  "Data": [
    { "Id": 1, "Email": "jane@acme.com", "FirstName": "Jane", "LastName": "Doe", "JobTitle": "Analyst", "Department": "Finance", "BusinessUnit": "EMEA", "IsActive": 1 }
  ]
}
{
  "Code": "AhCollaboratorsList",
  "Data": [
    { "Id": 1, "Email": "jane@acme.com", "FirstName": "Jane", "LastName": "Doe", "JobTitle": "Analyst", "Department": "Finance", "BusinessUnit": "EMEA", "IsActive": 1 }
  ]
}

uip ah collaborators create

Add collaborators to an automation.

Argumente
NameErforderlichZweck
<automation-id>jaAutomation id.
Optionen
LongWertErforderlichBeschreibung
--user-id <id...>repeatablejaUser ids to add.
--role-id <id...>repeatablejaRole ids to grant every added user (applied to all of them — a per-user role split needs one call per user). Only active roles of type process are accepted; the endpoint rejects any other kind.

At least one --role-id is required — the endpoint rejects a collaborator entry with no role.

Beispiel
uip ah collaborators create 20 --user-id 3 --role-id 3
uip ah collaborators create 20 --user-id 3 --role-id 3
Datenform (--output json)
{ "Code": "AhCollaboratorsCreate", "Data": { "AutomationId": 20, "UserIds": [3] } }
{ "Code": "AhCollaboratorsCreate", "Data": { "AutomationId": 20, "UserIds": [3] } }

uip ah collaborators delete

Remove collaborator roles from users on an automation. The endpoint deletes role assignments rather than the collaborator record, so --role-id is required — strip every role a user holds and they stop being a collaborator.

Argumente
NameErforderlichZweck
<automation-id>jaAutomation id.
Optionen
LongWertErforderlichBeschreibung
--user-id <id...>repeatablejaUser ids to remove roles from.
--role-id <id...>repeatablejaRole ids to remove from each user.
-y, --yesMarkierenjaConfirm this irreversible operation. Required — the CLI never prompts.
Beispiel
uip ah collaborators delete 20 --user-id 3 --role-id 3 --yes
uip ah collaborators delete 20 --user-id 3 --role-id 3 --yes
Datenform (--output json)
{ "Code": "AhCollaboratorsDelete", "Data": { "AutomationId": 20, "UserIds": [3], "RoleIds": [3] } }
{ "Code": "AhCollaboratorsDelete", "Data": { "AutomationId": 20, "UserIds": [3], "RoleIds": [3] } }

uip ah roles

Discover the Automation Hub roles that can be assigned. Read-only.

uip ah roles list

Optionen
LongBeschreibung
--limit <n> / --offset <n>Paging, applied client-side (unpaged endpoint).
--all-fieldsReturn the raw payload.
Beispiel
uip ah roles list
uip ah roles list
Datenform (--output json)
{
  "Code": "AhRolesList",
  "Data": [
    { "Id": 2, "Name": "System Admin", "Slug": "ah-system-admin", "Type": "service", "Description": "...", "IsActive": 1, "IsDefault": 0 }
  ]
}
{
  "Code": "AhRolesList",
  "Data": [
    { "Id": 2, "Name": "System Admin", "Slug": "ah-system-admin", "Type": "service", "Description": "...", "IsActive": 1, "IsDefault": 0 }
  ]
}

Slug is the value uip ah users create --role takes; Id/Type are what collaborators create --role-id filters on (only Type: "process" roles are accepted there).

uip ah users

Manage Automation Hub users and their roles.

Zusammenfassung

uip ah users list [--search <text>] [--sort-by <field>] [--sort-order asc|desc] [--department <name>] [--business-unit <name>] [--location <name>] [--job-title <title>] [--invite-status <status>] [--role <slug>] [--limit <n>] [--offset <n>] [--all-fields]
uip ah users create --email <email> [write options...] --role-id <id...>
uip ah users update --email <email> [write options...]
uip ah users list [--search <text>] [--sort-by <field>] [--sort-order asc|desc] [--department <name>] [--business-unit <name>] [--location <name>] [--job-title <title>] [--invite-status <status>] [--role <slug>] [--limit <n>] [--offset <n>] [--all-fields]
uip ah users create --email <email> [write options...] --role-id <id...>
uip ah users update --email <email> [write options...]

uip ah users list

Optionen
LongWertBeschreibung
--search <text>stringFree-text search.
--sort-by <field>stringField to sort on, e.g. user_email.
--sort-order <direction>asc|descSort direction.
--department <name> / --business-unit <name> / --location <name> / --job-title <title>stringScope filters.
--invite-status <status>stringOnly this invite status.
--role <slug>stringOnly users holding this role slug.
--limit <n> / --offset <n>IntegerPaging. Default --limit 20.
--all-fieldsMarkierenReturn the raw payload.
Beispiel
uip ah users list --department Finance --limit 20
uip ah users list --department Finance --limit 20
Datenform (--output json)
{
  "Code": "AhUsersList",
  "Data": [
    { "Id": 3, "Email": "jane@acme.com", "FirstName": "Jane", "LastName": "Doe", "JobTitle": "Analyst", "Department": "Finance", "BusinessUnit": "EMEA", "Location": "Boston", "IsAdmin": 0, "IsActive": 1, "InviteStatus": 2, "AutomationCount": 3 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}
{
  "Code": "AhUsersList",
  "Data": [
    { "Id": 3, "Email": "jane@acme.com", "FirstName": "Jane", "LastName": "Doe", "JobTitle": "Analyst", "Department": "Finance", "BusinessUnit": "EMEA", "Location": "Boston", "IsAdmin": 0, "IsActive": 1, "InviteStatus": 2, "AutomationCount": 3 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}

uip ah users create

Add an existing Automation Cloud user to Automation Hub. This imports a user who is already in the organization — it cannot invite a new one, and fails with an explicit instructional error if the address is unknown to Automation Cloud.

Optionen
LongWertErforderlichBeschreibung
--email <email>E-MailjaUser email address.
--first-name <name> / --last-name <name>stringconditionallyRequired by the service on write (see below).
--job-title <title> / --department <name> / --business-unit <name> / --location <name>stringconditionallyRequired by the service on write.
--invite-status <status>IntegerneinNumeric Automation Hub invite-status code. Default 2 on create.
--activeMarkierenneinMark the user active. Default on create. Conflicts with --inactive.
--inactiveMarkierenneinMark the user inactive. Conflicts with --active.
--role-id <id...>repeatableneinRole ids to assign (uip ah roles list for the ids).

Automation Hub requires nine fields to carry a value on every write (email, first-name, last-name, business-unit, department, location, job-title, invite-status, active/inactive) — on create, none has a stored fallback, so any omitted field fails client-side naming exactly which flags to pass.

Beispiel
uip ah users create --email jane@acme.com --first-name Jane --last-name Doe \
  --job-title Analyst --department Finance --business-unit EMEA --location Boston --role-id 3
uip ah users create --email jane@acme.com --first-name Jane --last-name Doe \
  --job-title Analyst --department Finance --business-unit EMEA --location Boston --role-id 3
Datenform (--output json)
{ "Code": "AhUsersCreate", "Data": { "Email": "jane@acme.com", "Status": "Created" } }
{ "Code": "AhUsersCreate", "Data": { "Email": "jane@acme.com", "Status": "Created" } }

uip ah users update

Update a user, found by --email. Automation Hub replaces the whole user record on write, so fields you don't pass are carried over from the stored record — except that the service still rejects the write if any of the nine required fields is empty on both the flag and the stored record.

Optionen

Same flags as create, but only --email is required — the rest fill gaps from the existing record.

Beispiel
uip ah users update --email jane@acme.com --job-title 'Senior Analyst'
uip ah users update --email jane@acme.com --job-title 'Senior Analyst'
Datenform (--output json)
{ "Code": "AhUsersUpdate", "Data": { "Email": "jane@acme.com", "Status": "Updated" } }
{ "Code": "AhUsersUpdate", "Data": { "Email": "jane@acme.com", "Status": "Updated" } }

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