registrar
POST
https://hermeticor.com /v1/registrar/domains/{id}/dns Publish DNS records at the registrar (for example SES DKIM/MAIL FROM) without touching other records
Parameters
idstringpathrequiredRequest body
application/json
recordsobject[]requiredShow child parameters
typestringrequirednamestringrequiredvaluestringrequiredpriorityinteger{
"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
publishedintegerrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectUpdated