Plans
Delete a plan
Changed onDelete a billing plan. Plans with active subscriptions should be deactivated instead.
delete/api/plans/{id}
Request
- Base URLhttps://api.novabilling.one
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Plan ID
Response
Plan deleted
Example response
{
"id": "clx1234567890",
"name": "Premium Monthly",
"code": "premium_monthly",
"description": "Premium plan with all features",
"billingInterval": "MONTHLY",
"features": [
"Unlimited users",
"Priority support"
],
"isActive": true,
"billingTiming": "IN_ARREARS",
"minimumCommitment": "100.0000",
"prices": [
{
"id": "clx1234567890",
"planId": "clxplan123",
"currency": "USD",
"amount": "49.9900",
"isActive": true
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status
- info