# UiPath Solution Delete Package

> Application: **Solution**

Application: **Solution**

Type: **Post-Build task**

**UiPath Solution: Delete Package** is available in standard jobs and pipelines, and lets you delete an existing UiPath solution package from an Orchestrator instance.

:::note
Solutions are currently supported only in Automation Cloud. Support for Automation Suite is planned for a future release. On-premises (MSI) Orchestrator does not support Solutions.
:::

:::note
This task is compatible only with `UiPath.CLI.Windows` or `UiPath.CLI.Linux` at least version 25.10 or higher.
:::

## Configuration

 <colgroup>
  <col/>
  <col/>
 </colgroup>
 
  
     Job parameter  
     Description  
  
 
 
  
    Package name 
     The name of the package to be deleted.  
  
  
    Package version 
     The version of the package to be deleted.  
  
  
    Orchestrator address 
     The address of the Orchestrator instance where you'll delete the package from.  
  
  
    Orchestrator tenant 
     Specify the Orchestrator tenant.  
  
  
    Authentication 
     For authentication towards Automation Cloud Orchestrator, you need to create credentials in Jenkins upfront. Solutions support External App authentication only. See Managing external applications for details on creating an External App and obtaining the required credentials.  
  
   
    Trace level 
     Setting used to enable trace logging to one of the following levels:  None  Critical  Error  Warning  Information  Verbose. (The default is set to None ).  Useful for debugging purposes.  
  
 

## Pipeline example

```
pipeline {
  agent any
  environment {
      MAJOR = '1'
      MINOR = '0'
  }
  stages {
    stage ('Solution Package Delete') {
      steps {
        script {
            orchestratorCredentials = ExternalApp(
                applicationId: 'External application identifier',
                applicationScope: 'AutomationSolutions Solutions.Deployments Solutions.Packages',
                applicationSecret: 'External application secret',
                accountForApp: 'Organization identifier'
            )

            UiPathSolutionDeletePackage(
                packageName: 'Name of the package',
                packageVersion: 'Version of the package',
                orchestratorAddress: 'OrchestratorUrl',
                orchestratorTenant: 'Tenant name',
                credentials: orchestratorCredentials,
                traceLevel: 'Information',
            )
        }
      }
    }
  }
}
```
