v1

latestOpenAPI 3.0.02026-07-26167441.9 MB

Cancel Plan

The only supported status transition. Canceling a plan blocks new subscriptions AND synchronously cascade-cancels every subscription currently linked to it.

post/plans/{plan_id}/status

Path parameters

plan_idstring required

The unique identifier of the plan.

Request body

status'CANCELED' required

Response

200

idstring
statusstring
affected_subscriptionsinteger

The number of subscriptions that were cascade-canceled along with the plan.