Plugins

Enable or disable a plugin by body ID

Changed on

Required scope: plugin

patch/api/v1/plugins/enabled

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/plugins/enabled
  • Auth
    API key in header X-API-Key

Request body

plugin_idstring required
enabledboolean required

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes