Prices

Delete Price

Soft-delete a price by setting deletedAt timestamp. The price is retained in the database but excluded from listings and cannot be used for new subscriptions. Existing subscriptions using this price continue unaffected.

DELETE
/prices/{priceId}

Authorization

bearerAuth
AuthorizationBearer <token>

Use your secret API key as the bearer token

In: header

Path Parameters

priceId*string

Price ID (must start with prc_)

Match^prc_[a-z0-9]+$

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.getlumen.dev/v1/prices/prc_01hrwzqrz4ytkwv07syv8k7g3z"
{
  "success": true
}
{
  "error": "Price not found or access denied"
}
{
  "error": "Failed to delete price"
}