Dashboard
APIDelete Plan API - Remove Subscription Tier | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Examples
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

Delete Project Plan - Remove Subscription Tier via API

Archive a subscription plan so it no longer appears in the public plan inventory or accepts new purchases. The API refuses deletion while the plan has active memberships or active/paused subscriptions. Historical payment and plan records remain; deletion does not erase them.

Allow memberships to expire or explicitly terminate the relevant memberships and subscriptions before deleting their plan. An outstanding paid access grant can also prevent archival until recovery completes.

DELETE/v2/projects/{project_id}/plans/{plan_id}

Authorization

Bearer API KeyRequired

API key access: Unrestricted project API key required. Restricted keys cannot call this endpoint.

Path Parameters

project_idstringrequired

The unique identifier of the project.

plan_idstringrequired

The unique identifier of the plan to delete.

Last updated: