webflow.deletePageCustomCode removes all registered scripts applied to one page.
Example
automations/webflow-delete-page-custom-code.automation.ts
Inputs
Every input accepts a compatible signal. It requires thecustom_code:write OAuth scope.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Removes all registered scripts applied to one page.
webflow.deletePageCustomCode removes all registered scripts applied to one page.
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"
export default automation("Delete page custom code", () => {
onDashboardRun({ title: "Delete page custom code" })
webflow.deletePageCustomCode({
pageId: "page-id",
})
})
custom_code:write OAuth scope.
| Field | Type | Required | Description |
|---|---|---|---|
pageId | string | Yes | Webflow page ID. |