Dashboard
APIDelete Target API | 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 Target - Remove Access Destination via API

Permanently remove an access destination from your subscription bot. After deletion, the bot no longer manages member access for this Discord role or Telegram channel. Plans linked to this target will need to be updated to point to a different target.

DELETE/v2/projects/{project_id}/targets/{target_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.

target_idstringrequired

The internal target ID (UUID).

Last updated: