cloudflare.pages.remove-domain ​
Unbind a custom domain from a Cloudflare Pages project. Idempotent.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-cloudflare |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization UUID. |
connection_uuid | uuid | Yes | — | Cloudflare CloudConnection UUID. |
project_name | string | Yes | — | Pages project name. |
domain | string | Yes | — | Custom domain to unbind. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization UUID. |
connection_uuid | uuid | Yes | — | Cloudflare CloudConnection UUID. |
project_name | string | Yes | — | Pages project name. |
domain | string | Yes | — | Custom domain to unbind. |
removed | boolean | No | — | True if a binding was removed; false if already absent. |
status | string | No | — | Result status. |
failure_reason | string | No | — | Engine-stamped human-readable failure reason |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | integer | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
failure_type | string | No | — | Engine-stamped failure category (atomic path) |
failed_action | string | No | — | Engine-stamped action method that raised (atomic path) |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | Inputs accepted |
removed | No | No | — | persist | Domain unbound from the provider |
completed | No | Yes | Yes | — | Domain removal complete |
failed | No | Yes | No | — | Domain removal failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | removed | — |
removed | persist | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "cloudflare.pages.remove-domain",
"initial_data": {
"organization_uuid": "value",
"connection_uuid": "value",
"project_name": "value",
"domain": "value"
}
}