cicd-integrations
2023.4
false
- 概述
- UiPath CLI
- Azure DevOps 扩展程序
- Jenkins 插件
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。

CI/CD 集成用户指南
上次更新日期 2025年4月28日
Deleting assets from Orchestrator
先决条件:
- 在 Orchestrator 中创建资产。
- 创建一个 CSV 文件,其中包含要删除的资产。 CSV 文件必须包含以下列三列:
name
、type
和value
。type
和value
列下的数据单元格可以留空。 - 运行 CLI
exe
(适用于 Windows)或dll
(适用于 Linux)文件。 - 添加所需的 Orchestrator API 访问应用程序作用域。
有关 CSV 文件的更多信息,请查看下表中的示例:
name |
类型 |
值 |
---|---|---|
asset1_name | N/A | N/A |
asset2_name |
Bool |
|
asset3_name |
整数 | N/A |
asset4_name |
凭据 |
username:password |
要从 Orchestrator 中删除资产,请执行以下步骤:
用法:
asset delete <assets_file> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder>] [-l <language>]
asset delete <assets_file> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder>] [-l <language>]
示例:
资产删除 assets_file.csv "https://uipath-orchestrator.myorg.com" 默认值 -u admin -p 123456 -l en-US
asset delete assets_file.csv "https://uipath-orchestrator.myorg.com"default -u admin -p 123456 -o OurOrganization
资产删除 assets_file.csv "https://uipath-orchestrator.myorg.com" 默认值 -t a7da29a2c93a717110a82 -a myAccount
资产删除 assets_file.csv "https://uipath-orchestrator.myorg.com" 默认值 -A accountForExternalApp -I myExternalAppId -S myExternalAppSecret --applicationScope "OR.Folders.Read OR.Settings.Read"