slack.deleteCanvas permanently deletes a Slack Canvas that the connected app can manage.
Example
automations/delete-slack-canvas.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Permanently delete a Slack Canvas.
slack.deleteCanvas permanently deletes a Slack Canvas that the connected app can manage.
import { automation, onDashboardRun } from "automate.ax"
import { slack } from "automate.ax/slack"
export default automation("Delete obsolete canvas", () => {
onDashboardRun({ title: "Delete obsolete canvas" })
slack.deleteCanvas({ canvasId: "F01234567" })
})
| Input | Type | Required | Description |
|---|---|---|---|
canvasId | string | Yes | Stable Slack Canvas ID. |
Second argument: { account } | string | IntegrationAccountReference<"slack"> | No | Slack binding. |