API Documentation

Update DNS Record

Update an existing DNS record for a domain.

Request

PUT /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
Content-Type Yes application/json

Request Body

Field Type Required Description
data string Yes The new record value

Response

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

Response Fields

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

Errors

Status Code Description
400 INVALID_RECORD_ID The provided record ID is not valid
400 INVALID_DATA The provided record data is not valid
404 NOT_FOUND The domain was not found
502 PROVIDER_ERROR The DNS provider returned an error

Example

curl -X PUT https://site.quest/api/v1/domains/a1b2c3d4e5f6a1b2c3d4e5f6/dns/12345 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "data": "5.6.7.8"
  }'

MCP

This action is also available via the edit_dns_record MCP tool.