push_dns_to_cloudflare
Push a deployment's certificate-validation and routing DNS records to the linked Cloudflare zone. Requires deployment and domain IDs and user authorization; preserves nameservers and mail records.
Instructions
Push a deployment's certificate-validation and website-routing DNS records into the customer's linked Cloudflare zone. This is an external DNS write, although it is idempotent and never changes nameservers or mail records. First call get_deployment and select the exact dns item whose action is OFFER_CLOUDFLARE_PUSH; pass the deployment response's id as deploymentId and that DNS item's domainId as domainId. Present the intended action and obtain the user's authorization before calling. Do not infer a domain ID, use this for MANUAL_RECORDS_AT_REGISTRAR, or describe it as DNS delegation. Present the returned message and every per-record error. Manual records at the current provider remain the fallback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domainId | Yes | Exact domainId from the OFFER_CLOUDFLARE_PUSH item in get_deployment.dns | |
| deploymentId | Yes | Deployment ID returned by get_deployment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Parsed JSON response from the Staticbot public API |