cicd-integrations
2025.10
true
UiPath logo, featuring letters U and I in white

CI/CD integrations user guide

Last updated Nov 5, 2025

Uninstalling Deployments

When a solution deployment is no longer needed, you can uninstall it from the target environment. This removes the deployment configuration and deactivates all associated processes.

What is uninstalling?

Uninstalling a deployment:

  • Removes the deployment from the target folder in Orchestrator.
  • Deactivates all processes included in the solution.
  • Stops any running triggers or schedules.
  • Cleans up deployment-specific configurations.
  • Does not delete the package from Solutions (use delete-package for that).

Command syntax

uipcli solution deploy-uninstall <deployment-name> [options]uipcli solution deploy-uninstall <deployment-name> [options]

Parameters:

ParameterDescriptionRequired
<deployment-name>Name of the deployment to uninstallYes
-UOrchestrator URLYes
-TTenant nameYes
-AOrganization nameYes
-IExternal App IDYes
-SExternal App secretYes
--applicationScopeRequired scopesYes
--traceLevelLogging levelNo

Authentication

See Authentication and scopes for required scopes and External App setup.

Example

uipcli solution deploy-uninstall MySolution-Prod-v1.2.3 \  -U https://cloud.uipath.com/ \  -T DefaultTenant \  -A myorg \  -I 12345678-xxxx-xxxx-xxxx-xxxxxxxxxxxx \  -S **** \  --applicationScope "AutomationSolutions Solutions.Deployments Solutions.Deployments.Read Solutions.Deployments.Write Solutions.Packages Solutions.Packages.Read Solutions.Packages.Write" \  --traceLevel Informationuipcli solution deploy-uninstall MySolution-Prod-v1.2.3 \  -U https://cloud.uipath.com/ \  -T DefaultTenant \  -A myorg \  -I 12345678-xxxx-xxxx-xxxx-xxxxxxxxxxxx \  -S **** \  --applicationScope "AutomationSolutions Solutions.Deployments Solutions.Deployments.Read Solutions.Deployments.Write Solutions.Packages Solutions.Packages.Read Solutions.Packages.Write" \  --traceLevel Information

What happens during uninstall

When you uninstall a deployment:

  1. Deactivation - The deployment is marked as inactive.
  2. Process cleanup - All processes in the solution are removed from the folder.
  3. Trigger cleanup - Scheduled triggers are stopped and removed.
  4. Configuration cleanup - Deployment-specific bindings and configurations are deleted.
  5. Package retention - The package remains in Solutions and can be redeployed.

Uninstall vs. Delete

It's important to understand the difference:

OperationWhat it doesWhen to use
UninstallRemoves deployment from folderWhen you want to deactivate a deployment but keep the package for future use
Delete PackageRemoves package from Solutions ManagementWhen you want to permanently remove a package version

Typical cleanup workflow:

# 1. First, uninstall all deployments using the packageuipcli solution deploy-uninstall MySolution-Dev-1.2.3 ...uipcli solution deploy-uninstall MySolution-Test-1.2.3 ...# 2. Then delete the package if no longer neededuipcli solution delete-package MySolution -v 1.2.3 ...# 1. First, uninstall all deployments using the packageuipcli solution deploy-uninstall MySolution-Dev-1.2.3 ...uipcli solution deploy-uninstall MySolution-Test-1.2.3 ...# 2. Then delete the package if no longer neededuipcli solution delete-package MySolution -v 1.2.3 ...

Best practices

1. Keep only necessary deployments

Don't accumulate old deployments. Uninstall them as part of your deployment pipeline:

# After successful deployment, always clean upuipcli solution deploy-uninstall <old-deployment-name> ...# After successful deployment, always clean upuipcli solution deploy-uninstall <old-deployment-name> ...

2. Use deployment naming for cleanup

Include version in deployment names to make cleanup easier:

# Good naming conventionMySolution-Prod-v1.2.3# Easy to identify and uninstall old versionsfor old_version in 1.2.1 1.2.2; do  uipcli solution deploy-uninstall MySolution-Prod-v$old_version ...done# Good naming conventionMySolution-Prod-v1.2.3# Easy to identify and uninstall old versionsfor old_version in 1.2.1 1.2.2; do  uipcli solution deploy-uninstall MySolution-Prod-v$old_version ...done

Next steps

After uninstalling deployments:

  1. Delete packages if they're no longer needed.
  2. Review other deployments in the folder for cleanup opportunities.
  3. Document deployment history for audit purposes.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.