Delete DNS Record
Delete an existing DNS record from a domain.
Delete an existing DNS record from a domain.
Required scope: domains:manage
| Parameter | Type | Description |
|---|---|---|
id |
string | The domain ID |
recordId |
string | The DNS record ID |
| Header | Required | Value |
|---|---|---|
Authorization |
Yes | Bearer YOUR_API_KEY |
{
"data": {
"success": true
}
}
| Field | Type | Description |
|---|---|---|
data.success |
boolean | Whether the record was deleted successfully |
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_RECORD_ID |
The provided record ID is not valid |
| 404 | NOT_FOUND |
The domain was not found |
| 502 | PROVIDER_ERROR |
The DNS provider returned an error |
curl -X DELETE https://site.quest/api/v1/domains/a1b2c3d4e5f6a1b2c3d4e5f6/dns/12345 \
-H "Authorization: Bearer YOUR_API_KEY"
This action is also available via the delete_dns_record MCP tool.