Delete a customer plan (refused while orgs are subscribed — deactivate instead).
DELETE
Secret API key operationId: delete_plan/v1/billing/customer-plans/{id} Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Path parameters
idstring<uuid> requiredPlan id
Responses
200 Deleted
404 No such plan
409 Plan has active subscriptions
Request
curl -X DELETE "http://localhost:8080/v1/billing/customer-plans/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f" \Try it
live requestDELETE
http://localhost:8080/v1/billing/customer-plans/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f