Bots

Delete a bot by query ID

Changed on

Required scope: bot

delete/api/v1/bots/by-id

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/bots/by-id
  • Auth
    API key in header X-API-Key

Query parameters

bot_idstring required
cleanupBotCleanupTarget[]

Data categories to permanently remove for this adapter. Omit to retain all associated data. Shared resources and cross-platform routing rules are preserved.

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes