deploy.domain.unbind ​
Reverse deploy.domain.bind: delete the Cloud Run domain mapping and (if identifiers given) the DNS record. Idempotent.
Unbind a custom domain: delete the Cloud Run mapping and optional DNS record.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-deployments |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization UUID. |
deployment_target_uuid | uuid | No | — | Deployment target (for correlation). |
gcp_connection_uuid | uuid | No | — | GCP connection UUID hosting the domain mapping. |
connection_uuid | uuid | No | — | Alias for gcp_connection_uuid. |
project_id | string | No | — | GCP project override. |
region | string | Yes | — | Cloud Run region. |
domain | string | Yes | — | Custom domain to unbind. |
dns_zone_id | string | No | — | Cloudflare zone id; required to also delete the DNS record. |
dns_record_id | string | No | — | Cloudflare DNS record id created by the bind. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Organization UUID. |
deployment_target_uuid | uuid | No | — | Deployment target UUID. |
domain | string | No | — | Custom domain. |
gcp_connection_uuid | uuid | No | — | GCP connection UUID (carried through). |
connection_uuid | uuid | No | — | Alias connection UUID (carried through). |
project_id | string | No | — | GCP project (carried through). |
region | string | No | — | Cloud Run region (carried through). |
dns_zone_id | string | No | — | Cloudflare zone id (carried through). |
dns_record_id | string | No | — | Cloudflare DNS record id (carried through). |
workflow_run_uuid | uuid | No | — | DAG run UUID stamped by the engine. |
delete_domain_mapping | json | No | — | Result of the gcp.run.domain-mapping.delete step. |
delete_dns_record | json | No | — | Result of the cloudflare.dns.delete_record step (when identifiers set). |
status | string | No | — | Unbind status. |
failure_reason | string | No | — | Engine failure reason. |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_step | json | No | — | Failed DAG step envelope. |
failed_layer | json | No | — | Failed DAG layer envelope. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | unbind | gcp.run.domain-mapping.delete, cloudflare.dns.delete_record | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
gcp.run.domain-mapping.delete | delete_domain_mapping |
cloudflare.dns.delete_record | delete_dns_record |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "deploy.domain.unbind",
"initial_data": {
"organization_uuid": "value",
"region": "value",
"domain": "value"
}
}