跳转到主要内容
POST
/
api
/
admins
/
demote
Demote an admin
curl --request POST \
  --url http://localhost:8080/api/admins/demote \
  --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.

授权

Authorization
string
header
必填

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

查询参数

bot_id
integer
必填
chat_id
integer
必填
user_id
integer
必填

响应

Admin demoted

ok
boolean
示例:

true