webflow.deleteCollection permanently deletes a CMS collection and its items.
Example
automations/webflow-delete-collection.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.
Permanently deletes a CMS collection and its items.
webflow.deleteCollection permanently deletes a CMS collection and its items.
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"
export default automation("Delete collection", () => {
onDashboardRun({ title: "Delete collection" })
webflow.deleteCollection({
collectionId: "collection-id",
})
})
cms:write OAuth scope.
| Field | Type | Required | Description |
|---|---|---|---|
collectionId | string | Yes | Webflow CMS collection ID. |