- Getting Started
- Studio
- Orchestrator
- Testing robots
- Test Manager
- CI/CD Integrations
Deleting Assets From Orchestrator
Prerequisites:
- Create assets in Orchestrator.
- Create a CSV file, that contains the assets that you want to delete. The CSV file must have the following three columns:
name
,type
, andvalue
. The data cells under thetype
, andvalue
columns can remain empty. - Run the CLI
exe
(for Windows) ordll
(for Linux) file. - Add the Orchestrator API Access Application Scopes below:
Application Scope
Description
OR.Assets
Assets read and write access in Orchestrator.
OR.BackgroundTasks
BackgroundTasks read and write access in Orchestrator.
OR.Execution
Execution read and write access in Orchestrator.
OR.Folders
Folders read and write access in Orchestrator.
OR.Jobs
Jobs read and write access in Orchestrator.
OR.Machines.Read
Machines read access in Orchestrator.
OR.Monitoring
Monitoring read and write access in Orchestrator.
OR.Robots.Read
Robots read access in Orchestrator.
OR.Settings.Read
Settings read access in Orchestrator.
OR.TestSets
TestSets read and write access in Orchestrator.
OR.TestSetExecutions
TestSetExecutions read and write access in Orchestrator.
OR.TestSetSchedules
TestSetSchedules read and write access in Orchestrator.
OR.Users.Read
Users read access in Orchestrator.
For more information about the CSV file, check the examples in the table below:
name |
type |
value |
---|---|---|
asset1_name | N/A | N/A |
asset2_name |
bool |
|
asset3_name |
integer | N/A |
asset4_name |
credential |
username:password |
To delete assets from Orchestrator:
Examples:
asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -l en-US
asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -o OurOrganization
asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount
asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -A accountForExternalApp -I myExternalAppId -S myExternalAppSecret --applicationScope "OR.Folders.Read OR.Settings.Read"