webflow.deleteCollectionItems deletes multiple staged CMS items from a collection.
Example
automations/webflow-delete-collection-items.automation.ts
Inputs
Every input accepts a compatible signal. It requires thecms:write OAuth scope.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Deletes multiple staged CMS items from a collection.
webflow.deleteCollectionItems deletes multiple staged CMS items from a collection.
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" }],
})
})
cms:write OAuth scope.
| Field | Type | Required | Description |
|---|---|---|---|
items | { id: string; cmsLocaleIds?: string[]; }[] | Yes | Webflow items value. |
collectionId | string | Yes | Webflow CMS collection ID. |