Delete Record
cloud_dns.delete_record
ActionGoogle Cloudconnection required
Calls Cloud DNS GET rrsets then POST changes with deletions.
Delete a DNS record set (looks up the existing rrset first).
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud DNS
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
zone Managed zone name. | string | Yes | — | — | — |
name Record name, e.g. www.example.com. (trailing dot added). | string | Yes | — | — | — |
type Record type — Cloud Dns accepts only the listed values. | string | Yes | — | one of "A", "AAAA", "CNAME", "MX", "TXT", "NS", "SRV", "CAA", "PTR" | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
deleted | boolean | — |
change_id | string | — |
status | string | — |
{
"change_id": "",
"deleted": false,
"ok": false,
"status": ""
}See Delete Record run in a workflow.
In a technical demo we add the Google Cloud DNS connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.