Skip to main content
POST
/
api
/
users
/
ban
Ban a user
curl --request POST \
  --url http://localhost:8080/api/users/ban \
  --header 'Authorization: Bearer <token>'
{
  "ok": true
}

Documentation Index

Fetch the complete documentation index at: https://botmux-dependabot-go-modules-modernc-org-sqlite-1-50-0.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key with bmx_ prefix. Obtain via /api/auth/api-keys.

Query Parameters

bot_id
integer
required
chat_id
integer
required
user_id
integer
required

Response

User banned

ok
boolean
Example:

true