Appearance
Delete Plan
Delete a pricing plan (soft delete). Its linked Stripe/Polar provider products are archived in the background.
DELETE /v1/products/:id/plans/:planIdPath Parameters
| Parameter | Description |
|---|---|
id | Product ID |
planId | Plan ID |
Response
json
{
"data": {
"message": "Plan deleted"
}
}Example
bash
curl -X DELETE "https://api.packedge.dev/v1/products/prd_xxx/plans/plan_xxx" \
-H "Authorization: Bearer pk_your_api_key"Notes
- The plan disappears from public pricing immediately (cache is invalidated)
- Existing licenses sold on the plan are not affected
