Dashboard
APIBan User API - Block Members From Your Bot | 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_•••'

Ban User - Block Members From Your Subscription Bot

Block a member from accessing your paid community on Telegram or Discord. Banned users cannot subscribe to new plans, and their existing access can be revoked. You can optionally include a reason for internal record-keeping.

PUT/v2/projects/{project_id}/ban/{user_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

user_idstringrequired

The unique identifier of the user to ban (numeric ID).

Request Body

reasonstring

Optional reason for banning the user.

Last updated: