Skip to main content
DELETE
/
v1
/
plans
/
{id}
Delete or archive a plan
curl --request DELETE \
  --url https://api.useplinth.com/v1/plans/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "plan",
  "id": "pln_01JABC...",
  "archived": true,
  "deleted": false
}

Authorizations

Authorization
string
header
required

Use sk_test_ keys for sandbox. Use sk_live_ keys for production. Obtain your key from the dashboard.

Path Parameters

id
string
required

Response

200 - application/json

Plan archived or deleted

object
enum<string>
Available options:
plan
id
string
archived
boolean

true = archived (had subscribers); false = hard-deleted (was unused)

deleted
boolean