webflow.deleteSiteCustomCode removes all registered scripts applied site-wide.
Example
automations/webflow-delete-site-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 site-wide.
webflow.deleteSiteCustomCode removes all registered scripts applied site-wide.
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"
export default automation("Delete site custom code", () => {
onDashboardRun({ title: "Delete site custom code" })
webflow.deleteSiteCustomCode({
siteId: "site-id",
})
})
custom_code:write OAuth scope.
| Field | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | Webflow site ID. |