Delete a DNS record
eurodns_dns_delete_recordDeletes a single DNS record from a zone, specifying either the numeric record ID or the record type, host, and exact value to disambiguate. Returns the deleted record.
Instructions
Deletes one DNS record from the zone domainName, either by its numeric recordId or by type and host, resolving the id from the live zone in the second case, and returns what was deleted. Give rdata as well when several records share a type and host: an ambiguous selection is refused rather than guessed, and so is a record the provider locked. Read the zone first with eurodns_dns_get_zone to see what it holds; to remove many records at once, save a complete zone with eurodns_dns_save_zone instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Node the record applies to. Use "" or "@" for the apex. Required without recordId. | |
| type | No | Record type of the record to delete, e.g. A, CNAME, TXT. Required without recordId. | |
| rdata | No | Exact current value, to disambiguate. | |
| recordId | No | Numeric id of the record, from the records eurodns_dns_get_zone returns. When given, type and host are not needed. | |
| domainName | Yes | Zone to modify, e.g. example.com. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | ||
| deleted | Yes |