Skip to content
Proud to collaborate with Microsoft for Startups

cloudflare.workers.delete_script ​

Delete a Cloudflare Worker script

Deletes a Cloudflare Worker script.

This permanently removes the worker and all its deployments. Use with caution — this action cannot be undone.

Inputs:

  • script_name: Name of the worker script to delete (required).
  • connection_uuid: Cloud connection UUID for Cloudflare credentials (required).

Outputs (terminal state_data):

  • script_name: str — deleted script name

Compensation: Cannot be undone — the worker is permanently deleted. Plugin required: context.get_plugin("cloudflare")

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-cloudflare
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
script_namestringYes—Name of the worker script to delete
connection_uuiduuidYes—Cloud connection UUID for Cloudflare credentials

Output Schema ​

FieldTypeRequiredDefaultDescription
script_namestringNo——
connection_uuiduuidNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "cloudflare.workers.delete_script",
  "initial_data": {
    "script_name": "value",
    "connection_uuid": "value"
  }
}