Skip to content

Delete Plan

Delete a pricing plan (soft delete). Its linked Stripe/Polar provider products are archived in the background.

DELETE /v1/products/:id/plans/:planId

Path Parameters

ParameterDescription
idProduct ID
planIdPlan 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