APIDelete Target API | BotSubscription

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 TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

target_idstringRequired

The internal target ID (UUID).

Request
curl -X DELETE "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/targets/11111111-1111-1111-1111-111111111111" \
  -H "Authorization: Bearer YOUR_TOKEN"
Target deletedapplication/json

No response body is returned on successful deletion.

Last updated: