comecerodocs

Delete a subscription plan

DELETE
/subscription_plans/{subscription_plan_id}

Retires a subscription plan: it is marked deleted and leaves the plan list, but you can still get it by id. Subscriptions already on the plan keep billing as before. Core does not check whether products still use the plan, so move those products first. Secret and trusted tokens may call it; a limited token may not (403).

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

subscription_plan_id*string

The subscription plan id.

Response Body

The plan was deleted. No body.

Example Request
curl -X DELETE 'https://api.comecero.com/api/v1/subscription_plans/string'
Example Response
Empty