MailboxesDNS

Update a DNS record

PATCH
/v1/mailbox-domains/{id}/dns/records/{recordId}

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Path Parameters

id*string
recordId*string
Length1 <= length <= 100

Request Body

application/json
  1. body
host*string

@ for the domain itself

Length1 <= length <= 253
type*string
Value in"A""AAAA""CNAME""MX""TXT""SRV""CAA"
value*string
Length1 <= length <= 2048
ttl?integer
Range60 <= value <= 86400
priority?integer
Range0 <= value <= 65535

Response Body

Success

application/json
  1. response

Success

data*array<>
curl -X PATCH "https://example.com/v1/mailbox-domains/mdm_01K6XJ4Q8ZT3M9R5V2B7WDHNCA/dns/records/string" \  -H "Content-Type: application/json" \  -d '{    "host": "www",    "type": "A",    "value": "string"  }'
{  "data": [    {      "id": "6512bd43d9caa6e02c990b0a",      "host": "www",      "type": "CNAME",      "value": "northwind.netlify.app",      "ttl": 0,      "priority": 0,      "protected": true    }  ]}