API Documentation

Delete DNS Record

Delete an existing DNS record from a domain.

Request

DELETE /api/v1/domains/{id}/dns/{recordId}

Required scope: domains:manage

Path Parameters

Parameter Type Description
id string The domain ID
recordId string The DNS record ID

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY

Response

{
  "data": {
    "success": true
  }
}

Response Fields

Field Type Description
data.success boolean Whether the record was deleted successfully

Errors

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

Example

curl -X DELETE https://site.quest/api/v1/domains/a1b2c3d4e5f6a1b2c3d4e5f6/dns/12345 \
  -H "Authorization: Bearer YOUR_API_KEY"

MCP

This action is also available via the delete_dns_record MCP tool.