Bots

Replace a bot configuration

Changed on

Required scope: bot

put/api/v1/bots/{bot_id}

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/bots/{bot_id}
  • Auth
    API key in header X-API-Key

Path parameters

bot_idstring required

Request body

idstring
namestring
typestring required

Platform adapter type, such as aiocqhttp, telegram, lark.

enabledboolean
configDynamicConfig required

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes