closeBot.deleteBot permanently deletes a bot.
automations/delete-closebot-bot.automation.ts
Inputs
ProvidebotId.
Output
Returnsnull after CloseBot accepts the deletion. This destructive action is not replay-safe.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a CloseBot bot by ID.
closeBot.deleteBot permanently deletes a bot.
import { automation, onDashboardRun } from "automate.ax"
import { closeBot } from "automate.ax/closebot"
export default automation("Delete CloseBot bot", () => {
onDashboardRun({ title: "Delete CloseBot bot" })
closeBot.deleteBot({ botId: "bot-id" })
})
botId.
null after CloseBot accepts the deletion. This destructive action is not replay-safe.