slack.setListAccess grants read, write, or user-only owner access.
automations/share-release-list.automation.ts
Inputs
Output
ReturnsSignal<void>.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Grant channel or user access to a Slack List.
slack.setListAccess grants read, write, or user-only owner access.
import { automation, onDashboardRun } from "automate.ax"
import { slack } from "automate.ax/slack"
export default automation("Share release List", () => {
onDashboardRun({ title: "Share release List" })
slack.setListAccess({
listId: "F012ABCD3EF",
accessLevel: "write",
subject: { type: "channels", ids: ["C012ABCD3EF"] },
})
})
| Input | Type | Required | Description |
|---|---|---|---|
listId | string | Yes | List whose access changes. |
accessLevel | "read" | "write" | "owner" | Yes | Access to grant. Only users can become owners. |
subject | { type: "channels" | "users"; ids: string[] } | Yes | One or more channels or users. |
Signal<void>.