Skip to content

Delete Product

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

Permanently removes a product and all plans and questions under it. While any of its plans has subscriptions that aren’t cancelled this is rejected, because deleting the plans would strand those subscribers. Set Status to Archived instead - that also preserves history.

id
required
string format: uuid

The product’s unique identifier.

Product deleted successfully.

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

A plan under this product still has subscriptions that aren’t cancelled. Archive it instead.

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