Skip to content
Proud to collaborate with Microsoft for Startups

cloudflare.pages.delete ​

Tear down a Cloudflare Pages project — unbind its custom domains and delete the project. Idempotent.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-cloudflare
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID.
connection_uuiduuidYes—Cloudflare CloudConnection UUID.
project_namestringYes—Pages project name.
unbind_domainsbooleanNo—Unbind custom domains before delete; default true.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID.
connection_uuiduuidYes—Cloudflare CloudConnection UUID.
project_namestringYes—Pages project name.
unbind_domainsbooleanNo—Unbind custom domains before delete; default true.
domains_removedintegerNo—Custom domains unbound.
deletedbooleanNo—True if the project was deleted; false if already absent.
statusstringNo—Result status.
failure_reasonstringNo—Engine-stamped human-readable failure reason
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerintegerNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
failure_typestringNo—Engine-stamped failure category (atomic path)
failed_actionstringNo—Engine-stamped action method that raised (atomic path)

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—unbindInputs accepted
deletedNoNo—persistProject deleted on the provider
unboundNoNo—executeCustom domains unbound
completedNoYesYes—Teardown complete
failedNoYesNo—Delete failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingunbindunbound—
unboundexecutedeleted—
deletedpersistcompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "cloudflare.pages.delete",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value",
    "project_name": "value"
  }
}