Delete DNS record
delete_dns_recordRemove a DNS record by providing its ID and verifying the current expected value and priority to prevent conflicts. Read the record first to obtain these details, then delete safely.
Instructions
Delete a DNS record using mandatory expected_value and expected_priority optimistic-concurrency guards. Read the record first and pass the observed state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"record_id": "<record_id>",
"expected_value": "<expected_value>",
"expected_priority": "<expected_priority>"
},
"name": "delete_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| record_id | Yes | ||
| expected_value | Yes | ||
| expected_priority | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| before | No | ||
| changed | Yes | ||
| message | No | ||
| dns_serial | No |