Cancel a deployment

Undeploys the specified application package deployment. Only deployments in ACTIVE or FAILED states can be canceled.

Command Alias Syntax
deployment cancel dep cancel deployment cancel -depid <deploymentID>

Options

Option Description
-depid, --<deploymentID> Application deployment ID. Use the List deployments command to obtain the application deployment ID. The deployment must be in an ACTIVE or FAILED state.
-s, --server The URL of the HCM ARA instance. For example, https://localhost:8444/csa.
-u, --user The HCM ARA username.
-p, --password The password for the HCM ARA user.
-c, --config A file that contains default general option values in the format “<name>=<value>“, where <name> is “server”, “user”, or “password”. If not specified, the cliforcodar.properties file in the home directory of the current user is used if it exists.

Usage guidelines

This command must be pre-defined in a configuration file or defined in the command line. The --server(-s) option defaults to localhost value(s) if it is not pre-defined in a configuration file.

Example

C:\CODAR\clis> codarexec.bat dep cancel -depid 8a8187834c6ff639014cd662e3961483

Deployment ‘8a8187834c6ff639014cd61c228311c4’ (deploy_name) Cancel  was successful