Add plan to group
Add an existing plan to a plan group with optional sort order.
Add an existing plan to a plan group with optional sort order.
application/jsonTypeScript Definitions
Use the request body type in TypeScript.
1 <= length0 <= valueapplication/json
application/json
curl -X POST "https://commet.co/api/v1/plan-groups/string/plans" \ -H "Content-Type: application/json" \ -d '{ "planId": "string" }'application/json
Public ID of the plan to add
Position within the group
Add an existing plan to a plan group with optional sort order.
Plan group public ID
{
"success": true,
"data": {
"success": true
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}