Commet
  • Pricing
Log InTry out
Add plan to group POSTCreate plan group POSTDelete plan group DELETEGet plan group GETList plan groups GETRemove plan from group DELETEReorder plans in group PUTUpdate plan group PUT
DocumentationKnowledge BaseBuild with AIAPI ReferenceWebhooks

Delete plan group

Delete a plan group. Plans in the group are unlinked, not deleted.

Create plan group POST

Create a new plan group for organizing plans.

Get plan group GET

Retrieve a plan group by ID, including its plans ordered by sortOrder.

DELETE
/plan-groups/{id}

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

Response Body

application/json

application/json

id*string
curl -X DELETE "https://commet.co/api/v1/plan-groups/string"

Delete a plan group. Plans in the group are unlinked, not deleted.

Plan group public ID

{
  "success": true,
  "data": {
    "id": "string",
    "deleted": true
  }
}
{
  "success": false,
  "error": {
    "type": "validation_error",
    "code": "string",
    "message": "string",
    "doc_url": "string",
    "param": "string"
  }
}