Skip to content
Proud to collaborate with Microsoft for Startups

data.cloudflare.pages.soft-delete ​

Soft-delete a CloudflarePagesProject row (and its deployments)

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-cloudflare
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID for tenant isolation.
pages_project_uuiduuidNo—Project row UUID to soft-delete.
project_namestringNo—Alternative key with connection_uuid.
connection_uuiduuidNo—Cloudflare connection UUID when keying by project_name.
cascade_deploymentsbooleanNo—Soft-delete child deployment rows too; default true.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Echoed organization UUID.
pages_project_uuiduuidNo—Soft-deleted project row UUID.
soft_deletedbooleanNo—True if a row transitioned to deleted; false if already deleted/absent.
deployments_soft_deletedintegerNo—Child deployment rows soft-deleted.
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—completeSoft-delete pages project
completedNoYesYes—Deleted
failedNoYesNo—Delete failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

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

{
  "workflow_type": "data.cloudflare.pages.soft-delete",
  "initial_data": {
    "organization_uuid": "value"
  }
}