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

Delete Membership - Revoke Subscription Access via API

Terminate a member's subscription and immediately revoke their access to your paid Telegram channel or Discord role. Use this when issuing refunds, handling disputes, or removing access for policy violations. The member's payment history is preserved for your records.

DELETE/v2/projects/{project_id}/memberships/{membership_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

membership_idstringrequired

The unique identifier of the membership to delete.

Last updated: