Delete a Plan Group

DELETE https://api.chartmogul.com/v1/plan_groups/{PLAN_GROUP_UUID}

Deletes the specified plan_group object from your ChartMogul account.

curl -X DELETE "https://api.chartmogul.com/v1/plan_groups/plg_eed05d54-75b4-431b-adb2-eb6b9e543206" \
     -u YOUR_API_KEY: \
     -H "Content-Type: application/json"
ChartMogul::PlanGroup.retrieve("plg_eed05d54-75b4-431b-adb2-eb6b9e543206").destroy!
ChartMogul.PlanGroup.destroy(
  config,
  "plg_eed05d54-75b4-431b-adb2-eb6b9e543206"
);
ChartMogul\PlanGroup::retrieve("plg_eed05d54-75b4-431b-adb2-eb6b9e543206")->destroy();
api.DeletePlanGroup("plg_eed05d54-75b4-431b-adb2-eb6b9e543206")
chartmogul.PlanGroup.destroy(config, uuid="plg_eed05d54-75b4-431b-adb2-eb6b9e543206")
{}
true
{}
true
nil
None

Path parameters

plan_uuid string required
The ChartMogul UUID of the plan group to be deleted.

Conditions and impact of this action. This will delete the plan groups but not the plans within the plan group. You can use the Plan delete endpoint to delete the plans.