Delete a Plan Group

Deletes the specified plan_group object from your ChartMogul account.

Examples
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");
<?php

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")
Result Format
{ }
true
{ }
true
nil
None

📘

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.

Language
Authorization
Basic
base64
: