> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Delete List access

> Revoke channel or user access to a Slack List.

`slack.deleteListAccess` revokes access for channels or users.

```ts automations/unshare-release-list.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { slack } from "automate.ax/slack"

export default automation("Unshare release List", () => {
  onDashboardRun({ title: "Unshare release List" })

  slack.deleteListAccess({
    listId: "F012ABCD3EF",
    subject: { type: "users", ids: ["U012ABCD3EF"] },
  })
})
```

## Inputs

| Input     | Type                                             | Required | Description                    |
| --------- | ------------------------------------------------ | -------- | ------------------------------ |
| `listId`  | `string`                                         | Yes      | List whose access changes.     |
| `subject` | `{ type: "channels" \| "users"; ids: string[] }` | Yes      | One or more channels or users. |

## Output

Returns `Signal<void>`.
