1. DNS
Reseller Stack Public APIs
  • Customers
    • List customers
      GET
    • Create customer
      POST
    • Get customer
      GET
    • Update customer notes
      PATCH
    • Update customer status
      PATCH
    • Update billing details
      PATCH
  • Geo
    • List countries
      GET
    • List states
      GET
  • Pricing
    • List TLD pricing
      GET
    • Update TLD pricing
      PATCH
    • Set TLD featured
      PATCH
    • Apply bulk margin
      POST
    • Reorder TLD pricing
      POST
  • Domains
    • List domains
      GET
    • Check domain availability
      POST
    • Checkout domain cart (single domain)
      POST
    • Checkout domain cart (bulk)
      POST
    • Get domain
      GET
    • Toggle transfer lock
      PATCH
    • Toggle auto-renew
      PATCH
    • Preview renewal price
      GET
    • Renew domain now
      POST
    • Get domain history
      GET
  • Orders
    • List orders
    • Get order
  • DNS
    • List DNS records
      GET
    • Add DNS records
      POST
    • Update DNS record
      PATCH
    • Delete DNS record
      DELETE
    • Update nameservers
      PATCH
    • Reset nameservers
      POST
    • List DNSSEC records
      GET
    • Add DNSSEC record
      POST
    • Delete DNSSEC record
      DELETE
  • Webhooks
    • Delivered when domain.order.success fires
    • Delivered when domain.order.failed fires
    • Delivered when domain.renewal.success fires
    • Delivered when domain.renewal.failed fires
  • Health check
    GET
  • Get current partner
    GET
  1. DNS

Update DNS record

PATCH
/domains/{id}/dns-records

Request

Authorization
API Key
Add parameter in header
rs-x-api-key
Example:
rs-x-api-key: ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200
application/json
DNS record updated - the DNS provider's raw response, not the list shape
Bodyapplication/json

🟠401
🟠403
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/domains//dns-records' \
--header 'rs-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "recordId": "a1b2c3d4e5f6",
    "host": "@",
    "recordType": "TXT",
    "value": "v=spf1 include:_spf.google.com -all",
    "priority": 1,
    "excludedDMARCtags": [
        "rua"
    ],
    "domainDnsRecordId": "a1b2c3d4e5f6"
}'
Response Response Example
{
    "status": 200,
    "message": "DNS record updated",
    "data": {
        "success": true
    }
}
Modified at 2026-08-28 11:33:21
Previous
Add DNS records
Next
Delete DNS record
Built with