cURL
curl --request DELETE \ --url https://api.example.com/api/v1/plans/{plan_id}
Soft-delete a plan. Fails if the plan has active subscriptions.
204 No Content
{ "detail": "Cannot delete plan. It has 3 active subscription(s). Please cancel or reassign the subscriptions first." }
Was this page helpful?