BotPatch

What a write to the bot itself may carry. Every field is optional and only the ones sent are written, so a body carrying none of them is refused rather than answered as a write that changed nothing. name, workspace and is_active are the bot's own settings; state is which side of the trash it is on, and active is its one accepted value.

  • Set to active to restore a bot from the trash. trashed is not accepted: the trash is entered by deleting the bot.

    values
    activetrashed
  • The workspace to file the bot under. Send null to file it under none. A workspace that does not exist, or belongs to another brand, is rejected with 422.