Archive plan
POST/v1/plans/:id/archive
Archives the plan: it stays listed and can be restored, but takes no new subscriptions; existing ones keep billing. Answers 422 while active subscriptions are on the plan. Requires the write access level.
Request​
Responses​
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Plan archived.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation. With code insufficient_scope, details.required carries the one minimal set of scopes that, added to details.granted, would let the request through: the resource scope (billing/{resource}, or billing/all off the catalogue) then the bare verb — e.g. ["billing/customers", "delete"].
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.