> ## 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 collection items

> Deletes multiple staged CMS items from a collection.

`webflow.deleteCollectionItems` deletes multiple staged CMS items from a collection.

## Example

```ts automations/webflow-delete-collection-items.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"

export default automation("Delete collection items", () => {
  onDashboardRun({ title: "Delete collection items" })

  webflow.deleteCollectionItems({
    collectionId: "collection-id",
    items: [{ id: "item-id" }],
  })
})
```

## Inputs

Every input accepts a compatible signal. It requires the `cms:write` OAuth scope.

| Field          | Type                                         | Required | Description                |
| -------------- | -------------------------------------------- | -------- | -------------------------- |
| `items`        | `{ id: string; cmsLocaleIds?: string[]; }[]` | Yes      | Webflow `items` value.     |
| `collectionId` | `string`                                     | Yes      | Webflow CMS collection ID. |

<Warning>
  This operation changes or permanently removes provider data. Confirm the IDs
  before you deploy it.
</Warning>

## Output

Completes without an output value after Webflow accepts the operation.
