Skip to content
Proud to collaborate with Microsoft for Startups

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 ​

PropertyValue
Workflow typeDag
LibraryApp-deployments
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID.
deployment_target_uuiduuidNo—Deployment target (for correlation).
gcp_connection_uuiduuidNo—GCP connection UUID hosting the domain mapping.
connection_uuiduuidNo—Alias for gcp_connection_uuid.
project_idstringNo—GCP project override.
regionstringYes—Cloud Run region.
domainstringYes—Custom domain to unbind.
dns_zone_idstringNo—Cloudflare zone id; required to also delete the DNS record.
dns_record_idstringNo—Cloudflare DNS record id created by the bind.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID.
deployment_target_uuiduuidNo—Deployment target UUID.
domainstringNo—Custom domain.
gcp_connection_uuiduuidNo—GCP connection UUID (carried through).
connection_uuiduuidNo—Alias connection UUID (carried through).
project_idstringNo—GCP project (carried through).
regionstringNo—Cloud Run region (carried through).
dns_zone_idstringNo—Cloudflare zone id (carried through).
dns_record_idstringNo—Cloudflare DNS record id (carried through).
workflow_run_uuiduuidNo—DAG run UUID stamped by the engine.
delete_domain_mappingjsonNo—Result of the gcp.run.domain-mapping.delete step.
delete_dns_recordjsonNo—Result of the cloudflare.dns.delete_record step (when identifiers set).
statusstringNo—Unbind status.
failure_reasonstringNo—Engine failure reason.
failure_typestringNo——
failed_actionstringNo——
failed_stepjsonNo—Failed DAG step envelope.
failed_layerjsonNo—Failed DAG layer envelope.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

DAG Layers ​

#LayerStepsCompensation
1unbindgcp.run.domain-mapping.delete, cloudflare.dns.delete_record—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
gcp.run.domain-mapping.deletedelete_domain_mapping
cloudflare.dns.delete_recorddelete_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"
  }
}