bunnycdn.dns.delete_record ​
Delete a DNS record from a Bunny CDN DNS zone
Delete a DNS record from a Bunny CDN DNS zone.
Inputs:
- zone_id: Bunny CDN DNS zone ID (required, integer).
- record_id: DNS record ID to delete (required, integer).
Outputs (terminal state_data):
- record_id: int
- deleted: bool — always true on success
Plugin required: context.get_plugin("bunnycdn") must expose .api_key.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-bunnycdn |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
zone_id | integer | Yes | — | Bunny CDN DNS zone ID |
record_id | integer | Yes | — | DNS record ID to delete |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
zone_id | integer | No | — | — |
record_id | integer | No | — | — |
deleted | boolean | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "bunnycdn.dns.delete_record",
"initial_data": {
"zone_id": 123,
"record_id": 123
}
}