Skip to content

Archive Plan

POST
/api/products/{productId}/plans/{id}/archive
curl --request POST \
--url https://example.com/api/products/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/plans/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/archive \
--header 'Authorization: Bearer <token>'

Soft-archives the plan: flips IsActive and IsPublic to false. Existing subscriptions keep running; the plan disappears from the onboarding wizard and can’t be picked for new ones. Use this instead of Delete unless you really want a permanent remove.

productId
required
string format: uuid

The parent product’s identifier.

id
required
string format: uuid

The plan’s unique identifier.

Plan archived (or already archived).

No plan with the given ID exists under this product.

Media type application/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}