API Reference
REST API endpoints
cURL
curl --request POST \ --url http://localhost:8080/api/users/ban \ --header 'Authorization: Bearer <token>'
{ "ok": true }
Bans a user from the specified chat. The bot must have ban permission.
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
bmx_
/api/auth/api-keys
User banned
true
Was this page helpful?