Skip to content
Aran30 edited this page Mar 18, 2022 · 28 revisions

Welcome to the Social-Bot-Framework wiki!

This wiki contains documentation for bot developers 🤖.

Deactivate running Bot

Currently, there is no possibility to turn off a bot from the modelling frontend alone. A HTTP call is available that lets users delete their bots:

DELETE <service-address>/SBFManager/bots/{agentId}

The agentId of the running bot can be found by querying the list of the running bots:

GET <service-address>/SBFManager/bots

To prevent unauthorized users to delete bots, an additional array needs to be provided. For every chat platform the particular bot uses, an object with following form will be needed:

{ "messengerNames":[
  {
    "name": "Given Name of Messenger Element found in <Name> attribute of Messenger Element", 
    "authToken": "Authentication Token String"
  },...]
}
Clone this wiki locally