切换机器人禁用状态
Toggles whether a bot is disabled. A disabled bot is fully stopped — it does not poll for updates, does not receive webhook updates, and its managed Bot instance is removed. Calling this endpoint again re-enables the bot and restarts it. Admin only.
授权
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
查询参数
Bot ID to toggle
响应
Updated bot configuration with the new disabled state
Unique bot ID
Telegram bot token
Display name
Registration source (informational only — both types are functionally identical)
cli, web Whether chat management features are active for this bot
Whether this bot forwards updates to a backend URL
Backend URL to forward updates to (when proxy_enabled)
Secret token for validating backend webhook requests
Whether the long-poll endpoint buffers updates for this bot
Natural-language description used by the LLM router
Whether the bot is currently active (polling or webhook-registered)
Whether the bot is in webhook mode (not polled by BotMux)
Whether the bot is disabled. Disabled bots are stopped and do not poll or receive webhook updates.