APIUnban User API - Restore Member Access | BotSubscription

Unban User - Restore Member Access to Your Bot

Restore a previously banned member's access to your subscription bot. Once unbanned, the user can interact with your bot again and purchase new subscriptions. This action removes all ban restrictions immediately.

DELETE/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 unban (numeric ID).

Request
curl -X DELETE "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/ban/123456789012345678" \
  -H "Authorization: Bearer YOUR_TOKEN"
User unbannedapplication/json

No content returned on success.

Last updated: