Archive Plan
archive_planArchive a subscription plan: the workspaces on it keep it and keep being billed, but nobody new can choose it — it leaves the plan picker, checkout refuses it, and its Stripe product and prices are archived. Use it to stop selling a plan that workspaces are on (delete_plan refuses those). archived: false brings an archived plan back. Returns how many workspaces are on it. Before writing app code that consumes this, call get_integration_guide with topic=billing and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| key | Yes | Plan KEY (see list_plans). | |
| archived | No | false brings an archived plan back. Default true. |