Overview

CLI command

remove-deployment-policy

Description

Delete a deployment policy.

You will not be allowed to delete deployment polices that are being used by deployed applications. If a deployment policy is being used by a deployed application, you will have to first undeploy the application to be able to delete the corresponding deployment policy.

Command format

remove-deployment-policy <DEPLOYMENT_POLICY_ID>

Parameter definitions

Short optionLong optionDescriptionRequiredExample value
N/AN/AThe ID of the deployment policyYes

deployment-policy-1

Example

Use case: Delete a deployment policy with the id: deployment-policy-1.

remove-deployment-policy deployment-policy-1

Sample output

Successfully deleted deployment policy
  • No labels