delete_charge_plan

Deletes the specified charge plan from Chargeback.

Format

emcli delete_charge_plan
    -plan_name="charge_plan_name"

Options

  • plan_name

    Name of the charge plan to delete. This option is required. The specified charge plan must exist.

The following restrictions apply:

  • The Universal Charge Plan cannot be deleted.

  • A charge plan associated with targets cannot be deleted. Remove its target associations before deleting it.

  • A charge plan configured as a default plan cannot be deleted. Remove its default-plan configuration before deleting it.

Example

This example deletes a charge plan named DBPlan:

emcli delete_charge_plan -plan_name="DBPlan"

On successful deletion, the following message is displayed:

Charge Plan "DBPlan" has been deleted successfully.