---
title: "Cancel Plan"
method: POST
path: "/plans/{plan_id}/status"
---

# Cancel Plan

`POST /plans/{plan_id}/status`

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

## Path parameters

- `plan_id` string, required

## Request body

- object
  - `status` 'CANCELED', required

## Response `200`

200

- object
  - `id` string
  - `status` string
  - `affected_subscriptions` integer — The number of subscriptions that were cascade-canceled along with the plan.

## Other responses

- `400` — 400. Reserved for a plan status outside ACTIVE/CANCELED — not currently reachable, since those are the plan's only two statuses today. Re-canceling an already-CANCELED plan does NOT hit this: it re-runs the cascade and returns 200.

---

[API](https://skmtc.net/y/apis/ai-caller.md) · [All operations](https://skmtc.net/y/apis/ai-caller/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/y/ai-caller/revisions/05b629819b49/schema)
