registrar

Embed
Preview of the card
<a href="https://hermeticor.com/docs/ref-registrar"><img src="https://hermeticor.com/docs/_api/public/orgs/5fcd8b3c-a27c-4688-972f-de710125592f/spaces/caf5dc05-15f7-4e0c-bdb8-ab29ede6211e/pages/1803a8a0-a5a3-4f6e-9ad9-37c9a48191c7/social-card.svg?v=3e7ae33eec8b" alt="registrar" width="600" height="315"></a>
POSThttps://hermeticor.com/v1/registrar/domains/{id}/dns

Publish DNS records at the registrar (for example SES DKIM/MAIL FROM) without touching other records

Parameters

idstringpathrequired

Request body

application/json
recordsobject[]required
Show child parameters
typestringrequired
A | AAAA | CNAME | MX | TXT
namestringrequired
valuestringrequired
priorityinteger
{
  "records": [
    {
      "type": "A",
      "name": "string",
      "value": "string",
      "priority": 0
    }
  ]
}

Code samples

cURL
curl -X POST "https://hermeticor.com/v1/registrar/domains/{id}/dns" \
  -H "Authorization: Bearer $HERMETICOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"records":[{"type":"A","name":"string","value":"string","priority":0}]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "published": 0
}
Schema
publishedintegerrequired
4XX Default Response
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
Schema
errorobjectrequired
Show child parameters
codestringrequired
messagestringrequired
detailsobject
5XX Default Response

Same as 4XX · POST /v1/registrar/domains/{id}/dns

Updated