Skip to content

Delete Plan

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

Permanently removes a plan from the product. Existing subscriptions on this plan are not cancelled — handle those separately.

productId
required
string format: uuid

The parent product’s identifier.

id
required
string format: uuid

The plan’s unique identifier.

Plan deleted successfully.

No plan with the given ID exists.

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"
}